Brush asset shelf popup #119217

Merged
Julian Eisel merged 33 commits from JulianEisel/blender:brush-asset-asset-shelf-popup into brush-assets-project 2024-04-26 16:03:10 +02:00

33 Commits

Author SHA1 Message Date
Julian Eisel 9fbb81e904 Cleanup: Rename asset-shelf popup storage class 2024-04-26 15:52:12 +02:00
Julian Eisel aff0aeb19c Replace listbase with vector 2024-04-26 15:49:37 +02:00
Julian Eisel 17f591907d Fix error & cleanup 2024-04-26 15:48:54 +02:00
Julian Eisel 2c3a2616dd Address most points from review 2024-04-26 15:29:58 +02:00
Julian Eisel 0829ef41f2 Fix error when no active brush is present 2024-04-26 15:07:57 +02:00
Julian Eisel 3cfdddd155 Cleanup: Avoid unnecessary non-functional changes 2024-04-26 12:58:45 +02:00
Julian Eisel e4f4e147b1 Cleanup: Add small comment 2024-04-26 12:56:05 +02:00
Julian Eisel 55bf125f38 Cleanup: Remove unnecessary function 2024-04-26 12:53:46 +02:00
Julian Eisel eaa96cf33c Merge branch 'brush-assets-project' into brush-asset-asset-shelf-popup 2024-04-26 12:41:31 +02:00
Julian Eisel e464d51aae Make popup asset shelf storage static
There's now a static list of asset-shelves, one shelf for each asset
shelf type that was previously opened in a popup.
2024-04-25 18:24:44 +02:00
Julian Eisel 3bf9b279fc Merge branch 'brush-assets-project' into brush-asset-asset-shelf-popup 2024-04-25 17:04:27 +02:00
Julian Eisel 3a44e175f9 Add comments regarding new non-obvious #UI_BLOCK_KEEP_OPEN behavior 2024-04-24 18:18:21 +02:00
Julian Eisel 884e93f08b Merge branch 'brush-assets-project' into brush-asset-asset-shelf-popup 2024-04-24 17:26:31 +02:00
Julian Eisel d528e9c25a Merge branch 'brush-assets-project' into brush-asset-asset-shelf-popup 2024-04-10 17:03:00 +02:00
Julian Eisel 1451f32278 Merge branch 'brush-assets-project' into brush-asset-asset-shelf-popup 2024-04-04 11:49:54 +02:00
Julian Eisel 2c0bbb9d0c Cleanup: Deduplicate region data creation 2024-03-28 16:55:05 +01:00
Julian Eisel a50b40b0a1 Fix build error after previous merge
Move template file to new location for templates.
2024-03-28 16:43:05 +01:00
Julian Eisel ce3719897d Merge branch 'brush-assets-project' into brush-asset-asset-shelf-popup 2024-03-28 16:41:53 +01:00
Julian Eisel 696ad9759b Cleanup: Add/use function for active catalog path query 2024-03-27 20:20:02 +01:00
Julian Eisel 8fdffcb7a6 Refactor how popup closing is done 2024-03-27 20:10:00 +01:00
Julian Eisel 1fd769359f Fix view `on_activate()` function not called within popups 2024-03-27 20:09:05 +01:00
Julian Eisel dff345af34 Cleanup: Remove some now unnecessary changes 2024-03-27 18:00:09 +01:00
Julian Eisel e633dbaaa8 Merge branch 'brush-assets-project' into brush-asset-asset-shelf-popup 2024-03-27 17:21:05 +01:00
Julian Eisel cedd4f46cb Make active catalog in popup seperate from the normal asset shelf 2024-03-22 20:35:48 +01:00
Julian Eisel a05addce0c Show icon and name of active brush in popup button 2024-03-21 17:54:14 +01:00
Julian Eisel 2c9387686b Cleanup: Use `this` as per guidelines 2024-03-21 11:55:21 +01:00
Julian Eisel 1d15430ba2 Fix failing assert and collapsed "All" item in catalog tree 2024-03-21 11:24:56 +01:00
Julian Eisel 77641f3f1c Merge branch 'brush-assets-project' into brush-asset-asset-shelf-popup 2024-03-20 20:28:45 +01:00
Julian Eisel 85a0a11c24 Use own catalog tree view to allow activating catalog
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-03-14 18:18:30 +01:00
Julian Eisel 24613a599c Fix crash when activating brush in normal asset shelf 2024-03-14 18:17:07 +01:00
Julian Eisel 15673169d2 Fix various crashes with the catalog tree, allow refreshing
The popup would close and free data before the catalog tree handling
ran. Generally interactions with the catalog tree shouldn't close the
popup, and supporting refreshing of the popup (so that the layout can
change and the popup size too) is important to support. So now the popup
stays open until a new brush is selected, which I think is the desired
behavior.
2024-03-14 16:47:38 +01:00
Julian Eisel 54999f141e Merge branch 'brush-assets-project' into brush-asset-asset-shelf-popup 2024-03-13 18:00:36 +01:00
Julian Eisel 3c7bc28f13 Initial asset shelf popup prototype
Plenty of work still, this crashes easily. Also needs some design
work. But it's something halfway working to evaluate, and it's quite fun
:)
2024-03-08 18:21:48 +01:00