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>2015-10-05 01:10:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-05 01:12:52 +0300
commit30b619e76529a5ca99f96683f1b4a512d18cd519 (patch)
tree42762da4b286c96cc25fc1f8885fed7a64a11724 /io_mesh_uv_layout/export_uv_svg.py
parente1d8c70bbb5776041383335f986b28b33d18f8ff (diff)
Revert "Fix T46365: Export UV Layout to PNG not working (missing context messages part)."
This reverts commit e1d8c70bbb5776041383335f986b28b33d18f8ff. Prefer not to have speculative fixes. The intention here is not to use the context at all, even if doing so fixes the crash - it may then fail silently by mixing data from different contexts, causing further complications which are much harder to debug.
Diffstat (limited to 'io_mesh_uv_layout/export_uv_svg.py')
-rw-r--r--io_mesh_uv_layout/export_uv_svg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_uv_layout/export_uv_svg.py b/io_mesh_uv_layout/export_uv_svg.py
index d2378219..764f0d34 100644
--- a/io_mesh_uv_layout/export_uv_svg.py
+++ b/io_mesh_uv_layout/export_uv_svg.py
@@ -21,7 +21,7 @@
import bpy
-def write(fw, context, mesh, image_width, image_height, opacity, face_iter_func):
+def write(fw, mesh, image_width, image_height, opacity, face_iter_func):
# for making an XML compatible string
from xml.sax.saxutils import escape
from os.path import basename