remove filter that bugs interpolation

master
pullusb 2024-01-10 17:53:12 +01:00
parent b3edd51284
commit 13614cec24
1 changed files with 9 additions and 5 deletions

View File

@ -126,11 +126,15 @@ class GP_OT_interpolate_stroke(bpy.types.Operator):
# (bpy.context.scene.render, 'simplify_subdivision', 0), # (bpy.context.scene.render, 'simplify_subdivision', 0),
] ]
for vlc in context.view_layer.layer_collection.children: # FIXME : Fix below filter so it does not exclude collections containing rig
store_list.append( # Also: Use in Bone mode only
(vlc, 'exclude', vlc.name not in included_cols),
# (vlc, 'hide_viewport', vlc.name not in included_cols), # viewport viz ## 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') # print(f'Preparation {time()-start:.4f}s')