[Bf-blender-cvs] [39ad5c3ef1e] blender2.8: Rename BakeAction > NLA_OT_bake

Dalai Felinto noreply at git.blender.org
Fri Oct 19 21:36:00 CEST 2018


Commit: 39ad5c3ef1ea4ff0b9cce03f97c30dd3828fe168
Author: Dalai Felinto
Date:   Fri Oct 19 16:35:09 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB39ad5c3ef1ea4ff0b9cce03f97c30dd3828fe168

Rename BakeAction > NLA_OT_bake

This was already the bl_idname anyways.

Now this seems to be working, for single and multi-pose.
That said, the operator seems to fail on redo.

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

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

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

diff --git a/release/scripts/startup/bl_operators/anim.py b/release/scripts/startup/bl_operators/anim.py
index 31325cf0b50..fa8ca3575a6 100644
--- a/release/scripts/startup/bl_operators/anim.py
+++ b/release/scripts/startup/bl_operators/anim.py
@@ -197,7 +197,7 @@ class ANIM_OT_keying_set_export(Operator):
         return {'RUNNING_MODAL'}
 
 
-class BakeAction(Operator):
+class NLA_OT_bake(Operator):
     """Bake all selected objects loc/scale/rotation animation to an action"""
     bl_idname = "nla.bake"
     bl_label = "Bake Action"
@@ -420,7 +420,7 @@ class UpdateAnimatedTransformConstraint(Operator):
 
 classes = (
     ANIM_OT_keying_set_export,
-    BakeAction,
+    NLA_OT_bake,
     ClearUselessActions,
     UpdateAnimatedTransformConstraint,
 )



More information about the Bf-blender-cvs mailing list