[Bf-blender-cvs] [5130bb116a6] master: Cleanup: unused warnings

Campbell Barton noreply at git.blender.org
Tue Jun 29 13:09:27 CEST 2021


Commit: 5130bb116a69f9ebb34914a79c0d5763361b373e
Author: Campbell Barton
Date:   Tue Jun 29 21:08:48 2021 +1000
Branches: master
https://developer.blender.org/rB5130bb116a69f9ebb34914a79c0d5763361b373e

Cleanup: unused warnings

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

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 8739747082b..f205559b941 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
@@ -280,8 +280,6 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
 
   const int source_type = RNA_enum_get(ptr, "source_type");
   const bool is_baked = RNA_boolean_get(ptr, "is_baked");
-  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);
 
   uiLayoutSetPropSep(layout, true);
   uiLayoutSetEnabled(layout, !is_baked);



More information about the Bf-blender-cvs mailing list