From 1f745e2c72b24cfdbd466e8558d8b66536320acd Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Thu, 2 Apr 2020 16:56:05 +0200 Subject: 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 --- source/blender/makesdna/DNA_scene_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna') 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; -- cgit v1.2.3