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.
This commit is contained in:
parent
b0ebe5e18f
commit
c3348263dc
Notes:
blender-bot
2023-02-14 00:56:23 +01:00
Referenced by issue blender/blender#69509, Quick Smoke is Broken
|
@ -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'})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue