active_frame attribute to current_frame method

This commit is contained in:
pullusb
2024-11-11 17:30:33 +01:00
parent 25adb5beb6
commit 998bd4b0cb
9 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -619,7 +619,7 @@ class GPTB_OT_clear_active_frame(Operator):
if not l:
self.report({'ERROR'}, 'No layers')
return {'CANCELLED'}
f = l.active_frame
f = l.current_frame()
if not f:
self.report({'ERROR'}, 'No active frame')
return {'CANCELLED'}