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:
authorCampbell Barton <ideasman42@gmail.com>2007-01-09 03:36:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-01-09 03:36:42 +0300
commitd01374b4d0b9dc1c6e7599c75ed0b8a0b2e3a18a (patch)
tree60189398731ab9a8dc14ebe66de681c0a9ff0c02 /release
parent8a5a220108c6a445ea110e7c4223f97eb91455ef (diff)
image_auto_layout update to use new UV coords, bugfix #5624 thenaks (fredz)
added some text to mesh_boneweight_copy
Diffstat (limited to 'release')
-rw-r--r--release/scripts/image_auto_layout.py7
-rwxr-xr-xrelease/scripts/mesh_boneweight_copy.py9
2 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/image_auto_layout.py b/release/scripts/image_auto_layout.py
index 178524a1844..de51991fa2b 100644
--- a/release/scripts/image_auto_layout.py
+++ b/release/scripts/image_auto_layout.py
@@ -285,7 +285,7 @@ def auto_layout_tex(mesh_list, scn, PREF_IMAGE_PATH, PREF_IMAGE_SIZE, PREF_KEEP_
render_scn.link(render_cam_ob)
render_scn.setCurrentCamera(render_cam_ob)
- render_cam_data.type= 1 # ortho
+ render_cam_data.type= 'ortho'
render_cam_data.scale= 1.0
@@ -346,11 +346,6 @@ def auto_layout_tex(mesh_list, scn, PREF_IMAGE_PATH, PREF_IMAGE_SIZE, PREF_KEEP_
uv_rot= ((uv-fg.cent) * fg.rot_mat[1]) + fg.cent
uv.x= uv_rot.x
uv.y= uv_rot.y
-
- # VCOLS
- # Set them white.
- for c in target_face.col:
- c.r= c.g= c.b= 255
render_context.render()
Render.CloseRenderWindow()
diff --git a/release/scripts/mesh_boneweight_copy.py b/release/scripts/mesh_boneweight_copy.py
index 11e9efcf0b7..9db31be72e6 100755
--- a/release/scripts/mesh_boneweight_copy.py
+++ b/release/scripts/mesh_boneweight_copy.py
@@ -198,14 +198,19 @@ def main():
Blender.Draw.PupMenu('Error%t|2 or more mesh objects need to be selected.|aborting.')
return
- PREF_QUALITY= Blender.Draw.Create(3)
+ PREF_QUALITY= Blender.Draw.Create(0)
PREF_NO_XCROSS= Blender.Draw.Create(0)
PREF_SEL_ONLY= Blender.Draw.Create(0)
pup_block = [\
('Quality:', PREF_QUALITY, 0, 4, 'Generate interpolated verts for a higher quality result.'),\
('No X Crossing', PREF_NO_XCROSS, 'Do not snap across the zero X axis'),\
- ('Copy to Selected', PREF_SEL_ONLY, 'Only copy new weights to selected verts on the target mesh. (use active object as source)'),\
+ '',\
+ '"Update Selected" copies',\
+ 'active object weights to',\
+ 'selected verts on the other',\
+ 'selected mesh objects.',\
+ ('Update Selected', PREF_SEL_ONLY, 'Only copy new weights to selected verts on the target mesh. (use active object as source)'),\
]