diff options
author | Martin Poirier <theeth@yahoo.com> | 2004-05-20 05:18:13 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2004-05-20 05:18:13 +0400 |
commit | f92ff8f25f9a6b698fd3b310dc3f536d6dd05d6b (patch) | |
tree | a3d615698bdd39df8ac31359d79261e95ff64047 /release/scripts | |
parent | e67713c113c6044c9a395a1872769e556b902a97 (diff) |
UV_Export script update. Typo fix and add tga extension automaticly.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/uv_export.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/scripts/uv_export.py b/release/scripts/uv_export.py index 53a17c51942..fe685d1e614 100644 --- a/release/scripts/uv_export.py +++ b/release/scripts/uv_export.py @@ -40,6 +40,9 @@ Tooltip: 'Export the UV Faces layout of the selected object to tga' # Default path is now the directory of the last saved .blend # New options: Work on selected face only & Scale image when face wraps # -------------------------- +# Version 1.3a +# Corrected a minor typo and added the tga extension to both export call +# -------------------------- import Blender from math import * @@ -63,7 +66,7 @@ def draw(): #Title Blender.BGL.glColor3f(1, 1, 1) Blender.BGL.glRasterPos2d(8, 183) - Blender.Draw.Text("Blender UF Faces Export") + Blender.Draw.Text("Blender UV Faces Export") Blender.BGL.glRasterPos2d(8, 163) Blender.Draw.Text("""(C) Feb. 2003 Martin Poirier (aka "theeth")""") @@ -96,7 +99,7 @@ def bevent(evt): if bObFile.val: UV_Export(bSize.val, bWSize.val, bFile.val + Blender.Object.GetSelected()[0].name + ".tga") else: - UV_Export(bSize.val, bWSize.val, bFile.val) + UV_Export(bSize.val, bWSize.val, bFile.val + ".tga") def Buffer(height=16, width=16, profondeur=3,rvb=255 ): """ |