[Bf-blender-cvs] [6276a04d7fa] temp-lineart-contained: LineArt: Added back the missing "allow_clipping_boundaries" option.
YimingWu
noreply at git.blender.org
Fri Mar 19 12:46:14 CET 2021
Commit: 6276a04d7fa628985635f9a104e627cecafbdcd6
Author: YimingWu
Date: Fri Mar 19 18:48:05 2021 +0800
Branches: temp-lineart-contained
https://developer.blender.org/rB6276a04d7fa628985635f9a104e627cecafbdcd6
LineArt: Added back the missing "allow_clipping_boundaries" option.
===================================================================
M source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
M source/blender/makesrna/intern/rna_gpencil_modifier.c
===================================================================
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
index 938ca49e73a..5a82869c357 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
@@ -290,6 +290,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
IFACE_("Overlapping Edges As Contour"),
ICON_NONE);
uiItemR(layout, ptr, "allow_duplication", 0, NULL, ICON_NONE);
+ uiItemR(layout, ptr, "allow_clipping_boundaries", 0, NULL, ICON_NONE);
gpencil_modifier_panel_end(layout, ptr);
}
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index 1ac40d5e4c2..91a28d10c7c 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -2363,8 +2363,9 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna)
prop = RNA_def_property(srna, "allow_clipping_boundaries", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "calculation_flags", LRT_ALLOW_CLIPPING_BOUNDARIES);
- RNA_def_property_ui_text(
- prop, "Clipping Boundaries", "Allow lines on near/far clipping plane to be shown");
+ RNA_def_property_ui_text(prop,
+ "Clipping Boundaries",
+ "Allow lines generated by near/far clipping planes to be shown");
RNA_def_property_update(prop, NC_SCENE, "rna_GpencilModifier_update");
prop = RNA_def_property(srna, "crease_threshold", PROP_FLOAT, PROP_ANGLE);
More information about the Bf-blender-cvs
mailing list