[Bf-blender-cvs] [405e6c6cc93] master: Fix T78555: GPencil bake animation operator loose frame setting

Antonio Vazquez noreply at git.blender.org
Fri Jul 3 15:54:11 CEST 2020


Commit: 405e6c6cc93cb8fafe33f9162c1832caf5e129f3
Author: Antonio Vazquez
Date:   Fri Jul 3 15:53:44 2020 +0200
Branches: master
https://developer.blender.org/rB405e6c6cc93cb8fafe33f9162c1832caf5e129f3

Fix T78555: GPencil bake animation operator loose frame setting

The values were reset for each run

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

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

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

diff --git a/release/scripts/startup/bl_operators/gpencil_mesh_bake.py b/release/scripts/startup/bl_operators/gpencil_mesh_bake.py
index ae75fa0e4d9..ec7ff970537 100644
--- a/release/scripts/startup/bl_operators/gpencil_mesh_bake.py
+++ b/release/scripts/startup/bl_operators/gpencil_mesh_bake.py
@@ -148,11 +148,6 @@ class GPENCIL_OT_mesh_bake(Operator):
         return {'FINISHED'}
 
     def invoke(self, context, _event):
-        scene = context.scene
-        self.frame_start = scene.frame_start
-        self.frame_end = scene.frame_end
-        self.frame_target = scene.frame_start
-
         wm = context.window_manager
         return wm.invoke_props_dialog(self)



More information about the Bf-blender-cvs mailing list