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:
authorEugenio Pignataro <info@oscurart.com.ar>2016-09-11 01:04:28 +0300
committerEugenio Pignataro <info@oscurart.com.ar>2016-09-11 01:04:28 +0300
commita91869b744bedc4bf2d71c9b202da115a0ed76e4 (patch)
tree06e2ae2e0dcca388925ef6133e23a24b8d700759 /oscurart_tools
parent0872705df740e994f3a1f89a98ce6fed638209bb (diff)
fix reconst mesh uv creation
Diffstat (limited to 'oscurart_tools')
-rw-r--r--oscurart_tools/oscurart_meshes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/oscurart_tools/oscurart_meshes.py b/oscurart_tools/oscurart_meshes.py
index 4269e6a8..568cb9d8 100644
--- a/oscurart_tools/oscurart_meshes.py
+++ b/oscurart_tools/oscurart_meshes.py
@@ -51,8 +51,8 @@ def defReconst(self, OFFSET):
if vertice.co[0] < 0:
bm.verts.remove(vertice)
bmesh.update_edit_mesh(ob.data)
- # mod = ob.modifiers.new("Mirror", "MIRROR")
- # uv = ob.data.uv_textures.new(name="SYMMETRICAL")
+ mod = ob.modifiers.new("Mirror", "MIRROR")
+ uv = ob.data.uv_textures.new(name="SYMMETRICAL")
for v in bm.faces:
v.select = 1
bmesh.update_edit_mesh(ob.data)
@@ -67,7 +67,7 @@ def defReconst(self, OFFSET):
bpy.ops.object.mode_set(mode="EDIT", toggle=False)
bm = bmesh.from_edit_mesh(ob.data)
bm.select_flush(0)
- # uv = ob.data.uv_textures.new(name="ASYMMETRICAL")
+ uv = ob.data.uv_textures.new(name="ASYMMETRICAL")
ob.data.uv_textures.active = ob.data.uv_textures['ASYMMETRICAL']
bpy.ops.uv.unwrap(
method='ANGLE_BASED',