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-08-30 18:21:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-30 18:21:31 +0400
commit6cc0943c59112e4679dd2e01a8ee75669a05385e (patch)
tree830c9b25342265779ec0dfb6ebb6cc268c92f0b2 /io_anim_camera.py
parentcbb127b148c9eaa5fe18580338555c2987b00ecd (diff)
updates for rna changes
Diffstat (limited to 'io_anim_camera.py')
-rw-r--r--io_anim_camera.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_anim_camera.py b/io_anim_camera.py
index 1b812eb0..92c473c7 100644
--- a/io_anim_camera.py
+++ b/io_anim_camera.py
@@ -102,7 +102,7 @@ def writeCameras(context, filepath, frame_start, frame_end, only_selected=False)
# now markers
fw("# markers\n")
for marker in scene.timeline_markers:
- fw("marker = scene.timeline_markers.add('%s')\n" % marker.name)
+ fw("marker = scene.timeline_markers.new('%s')\n" % marker.name)
fw("marker.frame = %d + frame\n" % marker.frame)
# will fail if the cameras not selected