diff options
author | Damien Picard <dam.pic@free.fr> | 2019-09-06 10:47:27 +0300 |
---|---|---|
committer | Damien Picard <dam.pic@free.fr> | 2019-09-06 10:51:43 +0300 |
commit | c3348263dc26d6272db88ed94b73caa3ddb3a3fd (patch) | |
tree | fb4d9f028eaea0523f038c4eade8c00014aae02d /animation_animall.py | |
parent | b0ebe5e18f36360ffd25389fb93f8cde5f22295a (diff) |
animation_animall: Fix T69509 Quick smoke broken
The previous commit rBA0a6d3d725f0b broke quick smoke by adding a
handler to force viewport refresh. This commit adds a check
to refresh only data which have animation data. So quick smoke
is not really fixed but the bug happens only if the data is animated.
Diffstat (limited to 'animation_animall.py')
-rw-r--r-- | animation_animall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/animation_animall.py b/animation_animall.py index f919bbb9..70f47f78 100644 --- a/animation_animall.py +++ b/animation_animall.py @@ -569,7 +569,7 @@ 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: + if obj.data is not None and obj.data.animation_data is not None: obj.update_tag(refresh={'DATA'}) |