Fix: crash when selecting a brush asset from the wrong mode #117233

Merged
Brecht Van Lommel merged 5 commits from brecht/blender:brush-asset-fix-mode-crash into brush-assets-project 2024-01-17 17:31:01 +01:00

5 Commits

Author SHA1 Message Date
Brecht Van Lommel 8e22e88a70 Merge branch 'brush-assets-project' into brush-asset-fix-mode-crash 2024-01-17 17:14:14 +01:00
Brecht Van Lommel 77c2aab9d4 Merge branch 'main' into brush-asset-fix-mode-crash 2024-01-17 17:02:53 +01:00
Brecht Van Lommel 73d74c006f Report warning, update comment 2024-01-17 16:58:43 +01:00
Brecht Van Lommel df81c95eb3 Fix memory leak 2024-01-17 15:53:08 +01:00
Brecht Van Lommel da1059d3ff Fix: crash when selecting a brush from the wrong mode
Ideally these should not appear at all in the asset shelf, but it's not
obvious that will 100% ensure the right mode.

Also fix a missing redraw of the properties editor when switching
brushes.
2024-01-17 15:42:39 +01:00