[Bf-blender-cvs] [51a7d11f68e] greasepencil-object: GPencil: Remove bake frame initialization in Trace script

Antonio Vazquez noreply at git.blender.org
Fri Jul 3 15:59:28 CEST 2020


Commit: 51a7d11f68ede890a331dd90e60bd4f2e94f6377
Author: Antonio Vazquez
Date:   Fri Jul 3 15:59:22 2020 +0200
Branches: greasepencil-object
https://developer.blender.org/rB51a7d11f68ede890a331dd90e60bd4f2e94f6377

GPencil: Remove bake frame initialization in Trace script

This is to avoid the same error of T78555

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

M	release/scripts/startup/bl_operators/gpencil_trace_image.py

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

diff --git a/release/scripts/startup/bl_operators/gpencil_trace_image.py b/release/scripts/startup/bl_operators/gpencil_trace_image.py
index 5c2e6c07ca7..f8ab61faac3 100644
--- a/release/scripts/startup/bl_operators/gpencil_trace_image.py
+++ b/release/scripts/startup/bl_operators/gpencil_trace_image.py
@@ -130,9 +130,6 @@ class GPENCIL_OT_trace(Operator):
         return {'FINISHED'}
 
     def invoke(self, context, _event):
-        scene = context.scene
-        self.frame_target = scene.frame_current
-
         wm = context.window_manager
         return wm.invoke_props_dialog(self)



More information about the Bf-blender-cvs mailing list