diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-23 03:31:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-23 03:31:40 +0300 |
commit | 4820f16b7f7bf9498e105a6dbb538fd8eb26b867 (patch) | |
tree | f56e9bb9eed880aad63428a089be911d4296624c | |
parent | 62987a6f9845112876d36162dc62f322291064b4 (diff) |
RNA: correction to a05cbc9914a76fa50c8367262dff507506e26c66
The clipping plane bias is an implementation detail,
don't use this in the RNA name.
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil_modifier.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c index 587b53fd730..97230ebbab0 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c @@ -282,7 +282,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) uiItemR(layout, ptr, "use_remove_doubles", 0, NULL, ICON_NONE); uiItemR(layout, ptr, "use_edge_overlap", 0, IFACE_("Overlapping Edges As Contour"), ICON_NONE); uiItemR(layout, ptr, "use_object_instances", 0, NULL, ICON_NONE); - uiItemR(layout, ptr, "use_clip_plane_bias", 0, NULL, ICON_NONE); + uiItemR(layout, ptr, "use_clip_plane_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 832c5cb37f8..0aa2e652d2d 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -2361,7 +2361,7 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna) "Allow edges in the same location (i.e. from edge split) to show properly. May run slower"); RNA_def_property_update(prop, NC_SCENE, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "use_clip_plane_bias", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_clip_plane_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", |