Revision 74ea21e by Sybren A. Stüvel October 12, 2021, 12:45 (GMT) |
Asset Catalogs: expose undo/redo operators to UI Ensure that catalog operations create an undo snapshot, and show undo/redo operators in the asset browser. A hidden operator `ASSET_OT_catalog_undo_push` is also added such that add-ons can also set undo snapshots if they need. |
Revision f1d97a3 by Sybren A. Stüvel October 12, 2021, 12:42 (GMT) |
Cleanup: asset catalogs, rename store_undo_snapshot to undo_push Rename `bke::AssetCatalogService::store_undo_snapshot` to `undo_push`. This makes the function named the same way as the global Blender "undo push" function. No functional changes. |
Revision 3a03d6c by Hans Goudey October 12, 2021, 12:24 (GMT) |
Fix: Incorrect error message in set spline resolution node Caused by my own refactoring before committing the patch. |
Revision a06435e by Sybren A. Stüvel October 12, 2021, 10:42 (GMT) |
Asset Catalogs: undo stack for catalog edits Add an undo stack for catalog edits. This only implements the backend, no operators or UI yet. A bunch of `this->xxx` has been replaced by `catalog_collection_->xxx`. Things are getting a bit long, and the class is turning into a god object; refactoring the class is tracked in T92114. Reviewed By: Severin Maniphest Tasks: T92047 Differential Revision: https://developer.blender.org/D12825 |
Revision b67a937 by Sybren A. Stüvel October 12, 2021, 10:17 (GMT) |
Assets: hide low-level catalog info behind "developer extra's" Hide the catalog UUID and the catalog simple name from the Asset Browser side-panel, unless "Developer Extra's" is enabled in the user prefs. |
Revision cc04399 by Sergey Sharybin October 12, 2021, 09:55 (GMT) |
Fix missing Cycles volume stack re-allocation Need to check allocation size, as the features do not change with volume stack depth detection. |
Revision ad1735f by Sybren A. Stüvel October 12, 2021, 09:28 (GMT) |
Asset Catalogs: recursive deletion of catalogs & children Recursively delete asset catalogs with `AssetCatalogService:prune_...` functions. This deletes the catalog and all of its children. The old `delete_catalog` function has been renamed to `delete_catalog_by_id()`, and is now a lower-level function (no deletion of children, no rebuilding of the tree). The `prune_catalogs_by_path()` and `prune_catalogs_by_id()` do delete children and do rebuild the catalog tree. Manifest task: T91634 |
Revision ac657be by Sybren A. Stüvel October 12, 2021, 09:25 (GMT) |
Tests: simplify asset catalog tree testing code Simplify the testing code that verifies the asset catalog tree. It now prints clearer error messages when things go wrong, and it gets simpler data to test (instead of having to explicitly pass the parent count, it just counts the number of separators in the expected path). No functional changes to Blender. |
Revision 29e5dc1 by Jeroen Bakker October 12, 2021, 07:50 (GMT) |
WindowManager: Keep track or the source library when appending. Keep track of the source library allowing other parts of the code to to make better decisions. This is needed to localize external files. In this case the file paths are updated when `making local`. But we should decide based on the source library if we want to copy the file relative to the new blend file. See D12423. Reviewed By: mont29, Severin Differential Revision: https://developer.blender.org/D12765 |
Revision 690382b by Jeroen Bakker October 12, 2021, 07:46 (GMT) |
Fix incorrect commet in appdir.c about cache locations. |
October 12, 2021, 07:36 (GMT) |
Fix build error due to conflicting types |
October 12, 2021, 07:18 (GMT) |
XR Controller Support Step 4: Controller Drawing Addresses T77127 (Controller Drawing). Adds VR controller visualization and custom drawing via draw handlers. Add-ons can draw to the XR surface (headset display) and mirror window by adding a View3D draw handler of region type 'XR' and draw type 'POST_VIEW'. Controller drawing and custom overlays can be toggled individually as XR session options, which will be added in a future update to the VR Scene Inspection add-on. For the actual drawing, the OpenXR XR_MSFT_controller_model extension is used to load a glTF model provided by the XR runtime. The model's vertex data is then used to create a GPUBatch in the XR session state. Finally, this batch is drawn via the XR surface draw handler mentioned above. For runtimes that do not support the controller model extension, a a simple fallback shape (sphere) is drawn instead. Reviewed By: Severin, fclem Differential Revision: https://developer.blender.org/D10948 |
October 12, 2021, 07:13 (GMT) |
Cleanup: remove unused parameter |
Revision 6139782 by Campbell Barton October 12, 2021, 06:58 (GMT) |
Tests: script_pyapi_idprop now cleans up after it's self This test left blend files in the users temporary directory. |
Revision eb8afc3 by Campbell Barton October 12, 2021, 06:58 (GMT) |
Tests: remove noisy output from bl_pyapi_idprop_datablock As part of expected behavior this printed an exception, making it seem as if there was an error in the test. Now the exception is suppressed from the output, ensuring it matches an the expected output. |
Revision 3d35d4a by Campbell Barton October 12, 2021, 06:57 (GMT) |
Tests: support running ID-property test without numpy |
Revision 7b0b050 by Campbell Barton October 12, 2021, 06:57 (GMT) |
Tests: quiet warning for UIList class name |
Revision c1c6c11 by Campbell Barton October 12, 2021, 06:55 (GMT) |
Cleanup: spelling in comments |
Revision fe958d7 by Campbell Barton October 12, 2021, 06:55 (GMT) |
Fix leak on exit when WITH_PYTHON_SAFETY is enabled The lead only occurred when Python references were leaking as well. |
Revision a91c6f1 by Campbell Barton October 12, 2021, 06:52 (GMT) |
Cleanup: quiet undefined warning |
|