Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-03 11:26:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-03 11:26:27 +0400
commit3c4c1ed512c84ab06ec74fba5151b36062d639ec (patch)
treebd0599dd07048c31e015afe7b89a8de80c2e5513 /io_anim_camera.py
parent722806d6731447273dc470fb1bf6e9bf280da658 (diff)
updates for changes in blender.
Diffstat (limited to 'io_anim_camera.py')
-rw-r--r--io_anim_camera.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_anim_camera.py b/io_anim_camera.py
index 64c79d20..50951226 100644
--- a/io_anim_camera.py
+++ b/io_anim_camera.py
@@ -79,9 +79,9 @@ def writeCameras(context, filepath, frame_start, frame_end, only_selected=False)
for f in frame_range:
- scene.set_frame(f)
+ scene.frame_set(f)
fw("# new frame\n")
- fw("scene.set_frame(%d + frame)\n" % f)
+ fw("scene.frame_set(%d + frame)\n" % f)
for obj, obj_data in cameras:
fw("obj = cameras['%s']\n" % obj.name)