diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-08-17 02:59:23 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-08-17 02:59:23 +0300 |
commit | 269adfdf23400ec91c0bb18e2c1618ca1aa6e1fa (patch) | |
tree | 7af7cea058bf567c92afc3ccb537d1a2a32ef372 /source/blender/makesdna/DNA_scene_types.h | |
parent | 83cefb31341780a9b8a753b222cad77d61db66ba (diff) |
temp-sculpt-brush-channel: Refactor MAKE_PROP macro
* MAKE_PROP macro now defines which properties belong to
which brush tools and where in the UI (workspace, header,
right-click menu) they are visible in.
* Added all brush RNA properties to brush_channel_define.h,
still have to add the code for evaluating input mappings
(except radius). NOTE: the categories are a work in progress.
* The brush channel API now takes a ePaintMode in addition to a
tool integer.
* Added a second Brush Settings panel that's dynamically generated
from the ui visiblity flags and categories.
* Adding support for PROP_BOOLEAN to the RNA wrapper.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 83a858fb7ea..f6e7cb6328c 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1575,6 +1575,8 @@ typedef struct ToolSettings { struct SequencerToolSettings *sequencer_tool_settings; + char brush_editor_mode; + char _pad9[7]; } ToolSettings; /* *************************************************************** */ |