October 12, 2021, 21:59 (GMT) |
BLI: Overload float4x4 multiplication-assignment operator This looks a lot nicer than writing `mul_m4_m4_post` instead. Differential Revision: https://developer.blender.org/D12844 |
Revision f18ab34 by Hans Goudey October 12, 2021, 20:38 (GMT) |
Fix T91809: Crash on undo with empty field inferencing Some runtime data that stores which sockets can be fields and which can't is not stored in the file, but only calculated when necessary. When opening a file, the node tree update function was called, which recalculated this data, but that was explicily turned off for undo. This exposes a fundamental issue with undo, the ID caching system for undo, and how it relates to node trees in particular. Ideally this call couldn't be necessary at all. In the future it could be removed by adding a runtime struct to node trees, and calculating its contents on-demand instead of preemtively. Differential Revision: https://developer.blender.org/D12699 |
Revision 9d03990 by Hans Goudey October 12, 2021, 20:28 (GMT) |
Fix T92160: Geometry Proximity node can produce invalid values Check when the node fails to create BVH trees, and fill the result with zero in that case, which is most likely the expected value when the node encounters an error. Warnings will be added with a separate patch. |
Revision eb56e8c by Hans Goudey October 12, 2021, 19:14 (GMT) |
Cleanup: Fix comment formatting and grammar |
Revision a6da188 by Sybren A. Stüvel October 12, 2021, 16:07 (GMT) |
Asset Catalogs: Refresh catalog simple name when assigning catalog ID When assigning a new catalog ID to an asset, also refresh the "catalog simple name". This "simple name" is stored on the asset metadata next to the catalog UUID, to allow some emergency data recovery when the catalog definition file is somehow lost. |
October 12, 2021, 15:58 (GMT) |
Fix T92149: Crash in delete geometry node after curve fill node There was only a check for the component but not for if it was empty. Because the curve fill node produces an empty curve component, a nullptr was read, causing a crash. Generally nodes shouldn't produce empty components, but currently we cannot rely on that fact. Differential Revision: https://developer.blender.org/D12838 |
October 12, 2021, 15:57 (GMT) |
Fix T92150: Incorrect invert in Delete Geometry node The selection was inverted when deleting points from a spline. Differential Revision: https://developer.blender.org/D12840 |
Revision ad80248 by Clément Foucault October 12, 2021, 15:54 (GMT) |
Revert "GHOST: Unify behavior of offscreen context creation" Commited by mistake This reverts commit 6535779c92b90035870047f178cf3eff95f0bdf0. |
Revision 72a47fe by Julian Eisel October 12, 2021, 15:49 (GMT) |
Fix dragging objects from Outliner to 3D View broken A dragged & dropped wouldn't be duplicated anymore, it would just be moved to the drop position. Caused by c8fcea0c33ef. |
Revision c63fb65 by Bastien Montagne October 12, 2021, 15:16 (GMT) |
Cleanup: use `nullptr` instead of `NULL` in C++ code. |
Revision 45f1672 by Clément Foucault October 12, 2021, 14:47 (GMT) |
Fix T91981: Crash when using operators that needs scene depth There was a double lock in the object depth drawing function. Also the texture read was not reading the texture with the right format. Now it needs a conversion. Fix T91981 Particle Edit make Blender Crash Fix T92006 Light spot interactively point can't use |
Revision 6535779 by Clément Foucault October 12, 2021, 14:47 (GMT) |
GHOST: Unify behavior of offscreen context creation This makes sure the previously bound context is restored after creating a new context. This follows what is already happening on windows. All system backend are patched. This also removes the goto and some code duplication. Differential Revision: https://developer.blender.org/D12455 |
Revision a2daf92 by Julian Eisel October 12, 2021, 14:40 (GMT) |
Fix warning about deleted default constructor declared as default Since `AssetCatalogPath` isn't default constructible (unlike the previous `CatalogPath`, alias `std::string`), `AssetCatalog` isn't default constructible either. But its default constructor is declared with `= default` which Apple Clang was warning about. Differential Revision: https://developer.blender.org/D12714 Reviewed by: Sybren St�vel |
Revision 1db42c9 by Julian Eisel October 12, 2021, 14:28 (GMT) |
Address warning about breaking copy elision of temporary object Using `std::move()` on temporary objects prevents copy elision done by compilers. Apple Clang warns about this. Generally `std::move()` should be used sparingly: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines |
Revision aaf3a63 by Bastien Montagne October 12, 2021, 14:18 (GMT) |
Cleanup: Typo in comment. |
Revision c1a1644 by Hans Goudey October 12, 2021, 14:13 (GMT) |
Cleanup: Attempt to fix benign macOS compile warnings |
Revision 30cd1d1 by Julian Eisel October 12, 2021, 13:49 (GMT) |
Asset Browser: Remove catalog deletion confirm prompt This confirmation popup was added when deletion was a destructive action that would be written to disk immediately, with no way to undo. Now we only write such changes to disk on .blend file save, plus there's undo/redo support for catalog edits now. In such cases confirmation popups should be avoided. |
Revision b7b2103 by Sybren A. Stüvel October 12, 2021, 13:12 (GMT) |
Asset Catalogs Undo: add Ctrl+Z and Ctrl+Shift+Z as hotkeys for undo/redo Allow undo/redo of asset catalog edits with Ctrl+Z/Ctrl+Shift+Z. These keys are registered in the 'screen' keymap, so that they can take priority over the global undo/redo operators. Updated both Blender Default and Industry Compatible keymaps. |
Revision 7867fea by Sybren A. Stüvel October 12, 2021, 13:11 (GMT) |
Asset Catalogs: mark 'undo push' operator as internal Mark the `ASSET_OT_catalog_undo_push` operator as internal, as it's not meant for artists to use directly. |
Revision a7300a2 by Sybren A. Stüvel October 12, 2021, 13:10 (GMT) |
Asset Catalog Undo: send notifiers to redraw the catalog tree Send notifiers to redraw the catalog tree after undo/redo. |
|