diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-04-02 17:56:05 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-04-02 17:56:44 +0300 |
commit | 1f745e2c72b24cfdbd466e8558d8b66536320acd (patch) | |
tree | 79bb0906bea3633e95f82cc7fab7d178a7fe78f0 /source/blender/makesdna | |
parent | e276558a50f06c6ec5d6b36b138ad5777dd05c0a (diff) |
Sculpt: Add global automasking options for all brushes
This adds the automasking options to the Sculpt Tool options in a way
that they affect all brushes. This is more convenient when working with
some of these options while switching brushes as they don't need to be
enabled/disabled per brush.
An automasking option is enabled if it is enabled in the brush or in the
sculpt options.
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D7304
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 7837c1265ab..62640a2ce54 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -970,6 +970,8 @@ typedef struct Sculpt { // float pivot[3]; XXX not used? int flags; + int automasking_flags; + /* Control tablet input */ // char tablet_size, tablet_strength; XXX not used? int radial_symm[3]; @@ -987,7 +989,6 @@ typedef struct Sculpt { /** Constant detail resolution (Blender unit / constant_detail). */ float constant_detail; float detail_percent; - char _pad[4]; struct Object *gravity_object; } Sculpt; |