diff options
author | YimingWu <xp8110@outlook.com> | 2021-07-10 16:52:35 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2021-07-10 16:52:35 +0300 |
commit | 49a363f0e0d837464503a934920033acf9a354ec (patch) | |
tree | c0f971abf504ec61d93580c702b20c98ffad603d /source/blender/gpencil_modifiers/intern | |
parent | 77a28f34d5a7912ddee6839e5d3f736d719bfdac (diff) |
LineArt: Fix edge type panel `use_cache` prop.
The name was mistakenly written as `use_cached_result`. Fixed.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |