[Bf-blender-cvs] [1b05948e4d0] master: LineArt: Expose the allow_duplication property for instanced objects.

YimingWu noreply at git.blender.org
Thu Mar 18 13:13:56 CET 2021


Commit: 1b05948e4d04f52e12e2fc7abdb56acb3fe01d20
Author: YimingWu
Date:   Thu Mar 18 19:29:47 2021 +0800
Branches: master
https://developer.blender.org/rB1b05948e4d04f52e12e2fc7abdb56acb3fe01d20

LineArt: Expose the allow_duplication property for instanced objects.

It was missing from the UI.

===================================================================

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 0923334701c..d21fc8b8fdd 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
@@ -288,6 +288,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
           0,
           IFACE_("Overlapping Edges As Contour"),
           ICON_NONE);
+  uiItemR(layout, ptr, "allow_duplication", 0, NULL, ICON_NONE);
 
   gpencil_modifier_panel_end(layout, ptr);
 }



More information about the Bf-blender-cvs mailing list