Commit: a2dcac0a0295d029578c44a05b17ca77ade648fe
Author: Joshua Leung
Date:   Fri Jul 27 16:20:48 2018 +1200
Branches: greasepencil-object
https://developer.blender.org/rBa2dcac0a0295d029578c44a05b17ca77ade648fe

Cleanup: Remove unused code

===================================================================

M       release/scripts/startup/bl_ui/properties_grease_pencil_common.py
M       source/blender/makesrna/intern/rna_gpencil.c

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py 
b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 1c9e4ab9a6a..d331da3569e 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -431,7 +431,7 @@ class GPENCIL_MT_pie_settings_palette(Menu):
         pie = layout.menu_pie()
         gpd = context.gpencil_data
         gpl = context.active_gpencil_layer
-        palcolor = context.active_gpencil_palettecolor
+        palcolor = None #context.active_gpencil_palettecolor
         brush = context.active_gpencil_brush
 
         is_editmode = bool(gpd and gpd.use_stroke_edit_mode and 
context.editable_gpencil_strokes)
diff --git a/source/blender/makesrna/intern/rna_gpencil.c 
b/source/blender/makesrna/intern/rna_gpencil.c
index 2da6e786b18..8231af374ea 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -1024,13 +1024,6 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
        RNA_def_property_editable_func(prop, 
"rna_GPencilLayer_active_frame_editable");
        RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, NULL);
 
-       /* Draw Style */
-       // TODO: replace these with a "draw type" combo (i.e. strokes only, 
filled strokes, strokes + fills, volumetric)?
-       prop = RNA_def_property(srna, "use_volumetric_strokes", PROP_BOOLEAN, 
PROP_NONE);
-       RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_VOLUMETRIC);
-       RNA_def_property_ui_text(prop, "Volumetric Strokes",
-                                "Draw strokes as a series of circular blobs, 
resulting in a volumetric effect");
-       RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, 
"rna_GPencil_update");
 
        /* Layer Opacity */
        prop = RNA_def_property(srna, "opacity", PROP_FLOAT, PROP_NONE);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to