[Bf-blender-cvs] [66404a54aa2] temp-lineart-contained: LineArt: Fix UI for misused remove_doubles and allow_overlapping_edges.
YimingWu
noreply at git.blender.org
Tue Mar 16 14:46:22 CET 2021
Commit: 66404a54aa2f3907c7e205442ea1b1025f6d0862
Author: YimingWu
Date: Tue Mar 16 21:45:44 2021 +0800
Branches: temp-lineart-contained
https://developer.blender.org/rB66404a54aa2f3907c7e205442ea1b1025f6d0862
LineArt: Fix UI for misused remove_doubles and allow_overlapping_edges.
===================================================================
M source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
===================================================================
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
index 68bfd0a69a1..6f893fda3bb 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
@@ -284,7 +284,8 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
uiItemPointerR(
layout, ptr, "target_material", &obj_data_ptr, "materials", NULL, ICON_SHADING_TEXTURE);
- uiItemR(layout, ptr, "remove_doubles", 0, "Allow Overlapping Edges", ICON_NONE);
+ uiItemR(layout, ptr, "remove_doubles", 0, NULL, ICON_NONE);
+ uiItemR(layout, ptr, "allow_overlapping_edges", 0, "Overlapping Edges As Contour", ICON_NONE);
gpencil_modifier_panel_end(layout, ptr);
}
More information about the Bf-blender-cvs
mailing list