diff options
author | Mikhail Rachinskiy <mikhail.rachinskiy@gmail.com> | 2019-10-16 13:15:43 +0300 |
---|---|---|
committer | Mikhail Rachinskiy <mikhail.rachinskiy@gmail.com> | 2019-10-16 13:15:43 +0300 |
commit | 4bf548356160a3abd2560c5f4cf562d522dc867d (patch) | |
tree | 8f63de5391896def6fa7277416dfb06ef8de4812 /object_print3d_utils/export.py | |
parent | 0d3795b4d4097694b2227e89225dc34994678ed2 (diff) |
Print-3D: code cleanup, specify link to wiki
Diffstat (limited to 'object_print3d_utils/export.py')
-rw-r--r-- | object_print3d_utils/export.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/object_print3d_utils/export.py b/object_print3d_utils/export.py index bb451692..022eff17 100644 --- a/object_print3d_utils/export.py +++ b/object_print3d_utils/export.py @@ -20,13 +20,13 @@ # Export wrappers and integration with external tools. -import os import bpy def image_copy_guess(filepath, objects): # 'filepath' is the path we are writing to. + import os import shutil from bpy_extras import object_utils @@ -53,6 +53,8 @@ def image_copy_guess(filepath, objects): def write_mesh(context, report_cb): + import os + scene = context.scene layer = context.view_layer unit = scene.unit_settings |