[Bf-extensions-cvs] [d5af8607] master: animation_animall: remove workaround for T68666

Damien Picard noreply at git.blender.org
Thu Sep 19 17:34:18 CEST 2019


Commit: d5af86076fd411724e631243e430125ddb840c3c
Author: Damien Picard
Date:   Thu Sep 19 17:33:06 2019 +0200
Branches: master
https://developer.blender.org/rBAd5af86076fd411724e631243e430125ddb840c3c

animation_animall: remove workaround for T68666

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

M	animation_animall.py

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

diff --git a/animation_animall.py b/animation_animall.py
index 70f47f78..65c73a3d 100644
--- a/animation_animall.py
+++ b/animation_animall.py
@@ -564,15 +564,6 @@ class AnimallAddonPreferences(AddonPreferences):
         col.prop(self, "category", text="")
 
 
- at persistent
-def animall_update_handler(scene):
-    '''Force data refresh on frame change.
-    To be removed when T68666 is fixed, probably.'''
-    for obj in scene.objects:
-        if obj.data is not None and obj.data.animation_data is not None:
-            obj.update_tag(refresh={'DATA'})
-
-
 def register():
     bpy.utils.register_class(AnimallProperties)
     bpy.types.WindowManager.animall_properties = bpy.props.PointerProperty(type=AnimallProperties)
@@ -582,7 +573,6 @@ def register():
     bpy.utils.register_class(ANIM_OT_clear_animation_animall)
     bpy.utils.register_class(AnimallAddonPreferences)
     update_panel(None, bpy.context)
-    bpy.app.handlers.frame_change_post.append(animall_update_handler)
 
 
 def unregister():
@@ -593,7 +583,6 @@ def unregister():
     bpy.utils.unregister_class(ANIM_OT_delete_keyframe_animall)
     bpy.utils.unregister_class(ANIM_OT_clear_animation_animall)
     bpy.utils.unregister_class(AnimallAddonPreferences)
-    bpy.app.handlers.frame_change_post.remove(animall_update_handler)
 
 if __name__ == "__main__":
     register()



More information about the Bf-extensions-cvs mailing list