October 18, 2018, 18:21 (GMT) |
Fix Copy Selection to Buffer breaking library paths. This is a bug experienced by animators in the Blender Studio that developers have been trying to fix for a /long/ time. What happens is that partial file writing extracts the needed datablocks from the main list of datablocks into a smaller one. Afterwards they are added back to the main list, but in some cases not exactly in the same order. There is file path remapping code that depends on the datablocks being in exactly the same order as before, and when this was not the case filepaths would get swapped between datablocks The reason datablocks are not restored in the same order is because the sorting of datablocks by name is a) case insensitive and b) undefined if there are multiple datablocks with the same name from different libraries. This should be made well defined, but the fix in this commit is simpler. The way animators ran into this bug is that they use the Copy Attributes addon a lot, which has as the first item in the menu Copy Selection to Buffer. In some cases this would be clicked accidentally when menu is near the edge of the window, breaking the library paths which would only be noticed a much later on file save and reload. The way this bug was finally tracked down is that it was suspected that the undo system was the cause, and so Bastien added library validation for undo. When Hjalti then did undo and noticed the error, he remembered accidentally clicking Copy Selection to Buffer just before, and we could finally reproduce the bug. |
October 18, 2018, 18:11 (GMT) |
Merge branch 'master' into blender2.8 |
October 18, 2018, 18:10 (GMT) |
Fix Copy Objects to Buffer breaking library paths. This is a bug experienced by animators in the Blender Studio that developers have been trying to fix for a /long/ time. What happens is that partial file writing extracts the needed datablocks from the main list of datablocks into a smaller one. Afterwards they are added back to the main list, but in some cases not exactly in the same order. There is file path remapping code that depends on the datablocks being in exactly the same order as before, and when this was not the case filepaths would get swapped between datablocks The reason datablocks are not restored in the same order is because the sorting of datablocks by name is a) case insensitive and b) undefined if there are multiple datablocks with the same name from different libraries. This should be made well defined, but the fix in this commit is simpler. The way animators ran into this bug is that they use the Copy Attributes addon a lot, which has as the first item in the menu Copy Selection to Buffer. In some cases this would be clicked accidentally when menu is near the edge of the window, breaking the library paths which would only be noticed a much later on file save and reload. The way this bug was finally tracked down is that it was suspected that the undo system was the cause, and so Bastien added library validation for undo. When Hjalti then did undo and noticed the error, he remembered accidentally clicking Copy Selection to Buffer just before, and we could finally reproduce the bug. |
October 18, 2018, 16:57 (GMT) |
Links: update development fund link to new URL. |
October 18, 2018, 16:14 (GMT) |
Fix assert/crash when copying RGBA color into RGB For example, copy from viewport display color into brush color. |
October 18, 2018, 13:45 (GMT) |
Outliner: drop into master collection when below everything else Reviewers: brecht Differential Revision: https://developer.blender.org/D3810 |
October 18, 2018, 13:43 (GMT) |
Cleanup: Remove more #if 0 blocks Continuation of https://developer.blender.org/D3802 Reviewers: brecht Differential Revision: https://developer.blender.org/D3808 |
October 18, 2018, 13:32 (GMT) |
Fix debug build after recent changes. |
October 18, 2018, 13:30 (GMT) |
Eevee: Fix default texture coord for procedural texture in world tree |
October 18, 2018, 13:30 (GMT) |
Cleanup: node_tex_checker: Vectorize operation in GLSL |
October 18, 2018, 10:59 (GMT) |
Fix use of uninitialized variable in cloth collision. No apparent difference in a quick simulation, but was clearly wrong. |
October 18, 2018, 10:19 (GMT) |
Cleanup: fix compiler warnings. |
October 18, 2018, 10:14 (GMT) |
UI: closure some more panels by default, leaving open mostly 1 per tab. |
October 18, 2018, 06:13 (GMT) |
PyAPI: Support for custom tool registration Added a module bpy.utils.toolsystem which only exposes ToolDef, to avoid scripts referencing bl_ui internals. |
October 18, 2018, 02:55 (GMT) |
Tool System: expose shear tool x/y option |
October 18, 2018, 02:06 (GMT) |
Keymap: use tweak event for shear |
October 18, 2018, 02:00 (GMT) |
Gizmo: tweak sorting to avoid view-aligned shear |
October 18, 2018, 01:36 (GMT) |
Gizmo: remove 'Click Anywhere' option Having an invisible gizmo caused event handling problems (see: T56603). This is hard to avoid since gizmos are similar to buttons in the way they have priority over the regular keymap. Transform events use tweak so events to fall though to the general view 3d keymap (for cursor placement for eg). |
October 18, 2018, 01:03 (GMT) |
Cleanup: style |
October 18, 2018, 00:50 (GMT) |
Cleanup: use mul_m3_series |
|
|
|


Master Commits
MiikaHweb | 2003-2021