diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-12-18 12:58:23 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-12-18 12:58:23 +0300 |
commit | 91686697aad63a42d479ac62c6a39031c1827870 (patch) | |
tree | 02d26e584eb4842b473554be0e325168d2dacc25 | |
parent | 618c842c3e486a7b83f81eabaa21ec4c59bafb0c (diff) |
Fix T59504: UV export did not export active object when not selected
-rw-r--r-- | io_mesh_uv_layout/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_uv_layout/__init__.py b/io_mesh_uv_layout/__init__.py index bd2c97bd..ad20a7a1 100644 --- a/io_mesh_uv_layout/__init__.py +++ b/io_mesh_uv_layout/__init__.py @@ -160,7 +160,7 @@ class ExportUVLayout(bpy.types.Operator): @staticmethod def iter_objects_to_export(context): - for obj in context.selected_objects: + for obj in {*context.selected_objects, context.active_object}: if obj.type != 'MESH': continue mesh = obj.data |