Cleanup: naming

This commit is contained in:
Campbell Barton 2018-11-10 20:27:20 +11:00
parent f9378e5413
commit 9268de3a0e
3 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ class AnnotationDrawingToolsPanel:
sub.operator("gpencil.active_frames_delete_all", icon='X', text="Delete Frame(s)")
#sub = col.column(align=True)
#sub.prop(context.tool_settings, "use_gpencil_additive_drawing", text="Additive Drawing")
#sub.prop(context.tool_settings, "use_gpencil_draw_additive", text="Additive Drawing")
#sub.prop(context.tool_settings, "use_gpencil_continuous_drawing", text="Continuous Drawing")
#sub.prop(context.tool_settings, "use_gpencil_draw_onback", text="Draw on Back")

View File

@ -71,7 +71,7 @@ class VIEW3D_HT_header(Header):
sub.separator(factor=0.4)
sub.prop(tool_settings, "use_gpencil_weight_data_add", text="", icon='WPAINT_HLT')
sub.separator(factor=0.4)
sub.prop(tool_settings, "use_gpencil_additive_drawing", text="", icon='FREEZE')
sub.prop(tool_settings, "use_gpencil_draw_additive", text="", icon='FREEZE')
if gpd.use_stroke_edit_mode:
row = layout.row(align=True)

View File

@ -2484,7 +2484,7 @@ static void rna_def_tool_settings(BlenderRNA *brna)
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, "rna_ToolSettings_gizmo_flag_update");
/* Grease Pencil */
prop = RNA_def_property(srna, "use_gpencil_additive_drawing", PROP_BOOLEAN, PROP_NONE);
prop = RNA_def_property(srna, "use_gpencil_draw_additive", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "gpencil_flags", GP_TOOL_FLAG_RETAIN_LAST);
RNA_def_property_ui_text(prop, "Use Additive Drawing",
"When creating new frames, the strokes from the previous/active frame "