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:
authorDalai Felinto <dfelinto@gmail.com>2018-09-06 17:04:15 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-09-06 17:13:07 +0300
commitb7630913cde7272cebd3de19f928ef29313c10d1 (patch)
tree83a7ebef8da93f1ef20e8fe12e49586f89f585a5 /io_mesh_uv_layout
parent0c19368ecd9186d8a99a8405331304ad708f250a (diff)
UV_OT_export_layout: Correct API to obj.to_mesh(...)
Diffstat (limited to 'io_mesh_uv_layout')
-rw-r--r--io_mesh_uv_layout/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_uv_layout/__init__.py b/io_mesh_uv_layout/__init__.py
index 061cf376..e7da8c7b 100644
--- a/io_mesh_uv_layout/__init__.py
+++ b/io_mesh_uv_layout/__init__.py
@@ -263,7 +263,7 @@ class ExportUVLayout(bpy.types.Operator):
obj.data.tag = True
if self.modified:
- mesh = obj.to_mesh(context.scene, True, 'PREVIEW')
+ mesh = obj.to_mesh(context.depsgraph, True)
else:
mesh = obj.data