From 13614cec24b956cdf25d67a583fd436b19f3a626 Mon Sep 17 00:00:00 2001 From: pullusb Date: Wed, 10 Jan 2024 17:53:12 +0100 Subject: [PATCH] remove filter that bugs interpolation --- interpolate_strokes/operators.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/interpolate_strokes/operators.py b/interpolate_strokes/operators.py index 2005dc5..b2dd5e1 100644 --- a/interpolate_strokes/operators.py +++ b/interpolate_strokes/operators.py @@ -126,11 +126,15 @@ class GP_OT_interpolate_stroke(bpy.types.Operator): # (bpy.context.scene.render, 'simplify_subdivision', 0), ] - for vlc in context.view_layer.layer_collection.children: - store_list.append( - (vlc, 'exclude', vlc.name not in included_cols), - # (vlc, 'hide_viewport', vlc.name not in included_cols), # viewport viz - ) + # FIXME : Fix below filter so it does not exclude collections containing rig + # Also: Use in Bone mode only + + ## Exclude other collection for faster animation (PROBLEM) + # for vlc in context.view_layer.layer_collection.children: + # store_list.append( + # (vlc, 'exclude', vlc.name not in included_cols), + # # (vlc, 'hide_viewport', vlc.name not in included_cols), # viewport viz + # ) # print(f'Preparation {time()-start:.4f}s')