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>2011-10-11 08:44:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-11 08:44:52 +0400
commit1a21899facaac90ee7b296ce84ed859198b5ad3b (patch)
treeba4f22df0f5efd2de7f2d938e35159a40b923e0e /io_mesh_ply
parentad8251bfdda50def103063b9fa8fc8c89aa0ccb9 (diff)
use library argument for bpy_extras.io_utils.path_reference(...)
Diffstat (limited to 'io_mesh_ply')
-rw-r--r--io_mesh_ply/export_ply.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_ply/export_ply.py b/io_mesh_ply/export_ply.py
index 928bfbe0..b02dd139 100644
--- a/io_mesh_ply/export_ply.py
+++ b/io_mesh_ply/export_ply.py
@@ -47,7 +47,7 @@ def save(operator,
return round(v[0], 6), round(v[1], 6)
scene = context.scene
- obj = context.object
+ obj = context.active_object
if not obj:
raise Exception("Error, Select 1 active object")