GPencil: Invert Simplify options
To follow the standard conventions, the simplify options for grease pencil are inverted now, so to disable the file, uncheck the fill option and not as before that must be checked.. Before it was confusing because the simplify was activated checking the option and this was opposite to the mesh simplify options.
This commit is contained in:
parent
e71fe924c5
commit
96a1bc2997
|
@ -6220,33 +6220,37 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
|
|||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
|
||||
|
||||
prop = RNA_def_property(srna, "simplify_gpencil_view_fill", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_FILL);
|
||||
RNA_def_property_ui_text(prop, "Disable Fill", "Disable fill strokes in the viewport");
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_FILL);
|
||||
RNA_def_property_ui_text(prop, "Fill", "Display fill strokes in the viewport");
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
|
||||
|
||||
prop = RNA_def_property(srna, "simplify_gpencil_remove_lines", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_REMOVE_FILL_LINE);
|
||||
RNA_def_property_ui_text(prop, "Disable Lines", "Disable external lines of fill strokes");
|
||||
RNA_def_property_boolean_negative_sdna(
|
||||
prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_REMOVE_FILL_LINE);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Disable Lines", "Display external lines of fill strokes");
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
|
||||
|
||||
prop = RNA_def_property(srna, "simplify_gpencil_view_modifier", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_MODIFIER);
|
||||
RNA_def_property_ui_text(prop, "Disable Modifiers", "Do not apply modifiers in the viewport");
|
||||
RNA_def_property_boolean_negative_sdna(
|
||||
prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_MODIFIER);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Disable Modifiers", "Display modifiers in the viewport");
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
|
||||
|
||||
prop = RNA_def_property(srna, "simplify_gpencil_shader_fx", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_FX);
|
||||
RNA_def_property_ui_text(prop, "Simplify Shaders", "Do not apply shader fx");
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_FX);
|
||||
RNA_def_property_ui_text(prop, "Simplify Shaders", "Display Shader FX");
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
|
||||
|
||||
prop = RNA_def_property(srna, "simplify_gpencil_blend", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_BLEND);
|
||||
RNA_def_property_ui_text(prop, "Layers Blending", "Do not display blend layers");
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_BLEND);
|
||||
RNA_def_property_ui_text(prop, "Layers Blending", "Display blend layers");
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
|
||||
|
||||
prop = RNA_def_property(srna, "simplify_gpencil_tint", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_TINT);
|
||||
RNA_def_property_ui_text(prop, "Layers Tinting", "Do not display layer tint");
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_TINT);
|
||||
RNA_def_property_ui_text(prop, "Layers Tinting", "Display layer tint");
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
|
||||
|
||||
/* persistent data */
|
||||
|
|
Loading…
Reference in New Issue