diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-11 08:44:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-11 08:44:52 +0400 |
commit | 1a21899facaac90ee7b296ce84ed859198b5ad3b (patch) | |
tree | ba4f22df0f5efd2de7f2d938e35159a40b923e0e /io_mesh_ply | |
parent | ad8251bfdda50def103063b9fa8fc8c89aa0ccb9 (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.py | 2 |
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") |