[Bf-blender-cvs] [3dfda41c466] lineart-fn-cached: LineArt: Remove custom camera options as this patch doesn't include this function.

YimingWu noreply at git.blender.org
Tue Jun 15 15:43:59 CEST 2021


Commit: 3dfda41c466e4e3b85ebe68d6e8b7b6433a468d2
Author: YimingWu
Date:   Tue Jun 15 21:43:16 2021 +0800
Branches: lineart-fn-cached
https://developer.blender.org/rB3dfda41c466e4e3b85ebe68d6e8b7b6433a468d2

LineArt: Remove custom camera options as this patch doesn't include this function.

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

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 491a96b671c..2162b32c1e0 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
@@ -358,15 +358,6 @@ static void options_panel_draw(const bContext *UNUSED(C), Panel *panel)
   uiLayoutSetEnabled(layout, !is_baked);
 
   if (!use_cache || is_first) {
-    uiLayout *row = uiLayoutRowWithHeading(layout, false, IFACE_("Custom Camera"));
-    uiItemR(row, ptr, "use_custom_camera", 0, "", 0);
-    uiLayout *subrow = uiLayoutRow(row, true);
-    uiLayoutSetActive(subrow, RNA_boolean_get(ptr, "use_custom_camera"));
-    uiLayoutSetPropSep(subrow, true);
-    uiItemR(subrow, ptr, "source_camera", 0, "", ICON_OBJECT_DATA);
-
-    uiItemR(layout, ptr, "overscan", 0, NULL, ICON_NONE);
-
     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);



More information about the Bf-blender-cvs mailing list