Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2006-06-16 02:27:36 +0400
committerMartin Poirier <theeth@yahoo.com>2006-06-16 02:27:36 +0400
commit8008783e2770b60070b0f34b639d02a6a8b777e7 (patch)
tree50f102fb6d8cc1af973abf11113ebf3b7d5048d8 /release
parent1d5136f57ed052348ab238fcd91e69f55a92f38b (diff)
== UV Export ==
Based on Ed Halley's report. * Default size is now 512, min is 64, max 8192 * Loading saved params check that Editor path is valid.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/uv_export.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/release/scripts/uv_export.py b/release/scripts/uv_export.py
index 09a8a1dbd08..0685b5fc418 100644
--- a/release/scripts/uv_export.py
+++ b/release/scripts/uv_export.py
@@ -126,7 +126,9 @@ def ImportConfig():
bWrap.val = conf["WRAP"]
bAllFaces.val = conf["ALLFACES"]
bEdit.val = conf["EDIT"]
- bEditPath.val = conf["EXTERNALEDITOR"]
+ editor = conf["EXTERNALEDITOR"]
+ if editor:
+ bEditPath.val = editor
except KeyError:
pass
@@ -306,7 +308,7 @@ def SetEditorAndExport(f):
# ###################################### MAIN SCRIPT BODY ###############################
-bSize = Blender.Draw.Create(500)
+bSize = Blender.Draw.Create(512)
bWSize = Blender.Draw.Create(1)
bObFile = Blender.Draw.Create(1)
bWrap = Blender.Draw.Create(1)
@@ -318,7 +320,7 @@ ImportConfig()
Block = []
-Block.append(("Size: ", bSize, 100, 10000, "Size of the exported image"))
+Block.append(("Size: ", bSize, 64, 8192, "Size of the exported image"))
Block.append(("Wire: ", bWSize, 1, 5, "Size of the wire of the faces"))
Block.append(("Wrap", bWrap, "Wrap to image size, scale otherwise"))
Block.append(("All Faces", bAllFaces, "Export all or only selected faces"))