[Bf-blender-cvs] [49a363f0e0d] master: LineArt: Fix edge type panel `use_cache` prop.

YimingWu noreply at git.blender.org
Sat Jul 10 15:52:54 CEST 2021


Commit: 49a363f0e0d837464503a934920033acf9a354ec
Author: YimingWu
Date:   Sat Jul 10 21:52:35 2021 +0800
Branches: master
https://developer.blender.org/rB49a363f0e0d837464503a934920033acf9a354ec

LineArt: Fix edge type panel `use_cache` prop.

The name was mistakenly written as `use_cached_result`. Fixed.

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

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 bcead683220..21007bab5d2 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
@@ -338,7 +338,7 @@ static void edge_types_panel_draw(const bContext *UNUSED(C), Panel *panel)
   PointerRNA *ptr = gpencil_modifier_panel_get_property_pointers(panel, &ob_ptr);
 
   const bool is_baked = RNA_boolean_get(ptr, "is_baked");
-  const bool use_cache = RNA_boolean_get(ptr, "use_cached_result");
+  const bool use_cache = RNA_boolean_get(ptr, "use_cache");
   const bool is_first = BKE_gpencil_is_first_lineart_in_stack(ob_ptr.data, ptr->data);
 
   uiLayoutSetEnabled(layout, !is_baked);



More information about the Bf-blender-cvs mailing list