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-04-24 23:35:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-24 23:35:58 +0400
commit9c0724824822b9fec5562081f6e3d5d1f26c732d (patch)
tree542280cba7877a12f1d64cd82ef2dbc80d2e652f /io_anim_camera.py
parentb1337de16a1220947a17e41d0b5d78da91c67b4a (diff)
collections like context.selected_objects no longer return None for empty lists. Update scripts for this.
also removed check for obj.data == None for a mesh. This will never happen.
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 03783330..5e4e848a 100644
--- a/io_anim_camera.py
+++ b/io_anim_camera.py
@@ -103,7 +103,7 @@ def writeCameras(context, path, frame_start, frame_end, only_selected=False):
for marker in scene.timeline_markers:
fw("marker = scene.timeline_markers.add('%s')\n" % marker.name)
fw("marker.frame = %d + frame\n" % marker.frame)
-
+
# will fail if the cameras not selected
if marker.camera:
fw("marker.camera = cameras.get('%s')\n" % marker.camera.name)