LineArt: Fix edge type panel `use_cache` prop.

The name was mistakenly written as `use_cached_result`. Fixed.
This commit is contained in:
YimingWu 2021-07-10 21:52:35 +08:00
parent 77a28f34d5
commit 49a363f0e0
1 changed files with 1 additions and 1 deletions

View File

@ -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);