Browse Source

__enter__ must return a value

pull/35/head
Adam Johnson 9 years ago
parent
commit
a11b1a92b2
  1. 1
      korman/operators/op_export.py

1
korman/operators/op_export.py

@ -143,6 +143,7 @@ class _UiHelper:
self.frame_num = scene.frame_current self.frame_num = scene.frame_current
scene.frame_set(scene.frame_start) scene.frame_set(scene.frame_start)
scene.update() scene.update()
return self
def __exit__(self, type, value, traceback): def __exit__(self, type, value, traceback):
for i in bpy.data.objects: for i in bpy.data.objects:

Loading…
Cancel
Save