active_frame attribute to current_frame method
This commit is contained in:
+1
-1
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user