bugfix [#21405] Error on loading of thumbnails from network renderer [27204]

This commit is contained in:
2010-03-01 12:44:28 +00:00
parent c0984d59cc
commit 29fc56b5bb

View File

@@ -159,7 +159,12 @@ class bpy_ops_submodule_op(object):
if 'FINISHED' in ret:
import bpy
bpy.context.scene.update()
scene = bpy.context.scene
if scene: # None in backgroud mode
scene.update()
else:
for scene in bpy.data.scenes:
scene.update()
return ret