diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-12 17:28:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-12 17:28:23 +0300 |
commit | ee73c96e90e87dad9dab8b0bbeb0ceec50d035ad (patch) | |
tree | 229ad932b20aa17f1995b792a1c8952f684aaad1 /source/blender/makesrna/intern/rna_sculpt_paint.c | |
parent | 03305de86d30b138da863a5104274805be4ac430 (diff) |
- fix for rna show_brush variable shadowing its parent classes with a flag which is now unused.
- getting clipboard RNA variable would crash blender in background mode.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 6203df0a975..ae13e5c68d9 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -285,15 +285,6 @@ static void rna_def_image_paint(BlenderRNA *brna) RNA_def_struct_ui_text(srna, "Image Paint", "Properties of image and texture painting mode"); /* booleans */ - - prop= RNA_def_property(srna, "show_brush_draw", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_DRAW_TOOL); - RNA_def_property_ui_text(prop, "Show Brush Draw", "Enables brush shape while drawing"); - - prop= RNA_def_property(srna, "show_brush", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_DRAW_TOOL_DRAWING); - RNA_def_property_ui_text(prop, "Show Brush", "Enables brush shape while not drawing"); - prop= RNA_def_property(srna, "use_projection", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_DISABLE); RNA_def_property_ui_text(prop, "Project Paint", "Use projection painting for improved consistency in the brush strokes"); |