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>2012-04-18 16:37:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-18 16:37:09 +0400
commitfe7a3619f542dd56891df962d724fcf9254880c9 (patch)
tree7d148f95c715b01137bbe6ce7c71fd555d7b1afb /add_curve_sapling
parente88bae64e61736b695442e434d50f41b1c8f7e8f (diff)
remove some broken code, patch by Andrew Hale but has no svn access atm.
Diffstat (limited to 'add_curve_sapling')
-rw-r--r--add_curve_sapling/utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/add_curve_sapling/utils.py b/add_curve_sapling/utils.py
index f74fcef3..9d7b17ca 100644
--- a/add_curve_sapling/utils.py
+++ b/add_curve_sapling/utils.py
@@ -760,12 +760,14 @@ def addTree(props):
leafObj.parent = treeOb
leafMesh.from_pydata(leafVerts,(),leafFaces)
leafMesh.validate()
-
+
+ '''
+ # TODO: Broken after Bmesh merger, disable for now since default uvs are OK
if leafShape == 'rect':
uv = leafMesh.uv_textures.new("leafUV")
for tf in uv.data:
tf.uv1, tf.uv2, tf.uv3, tf.uv4 = Vector((1, 0)), Vector((1, 1)), Vector((1 - leafScaleX, 1)), Vector((1 - leafScaleX, 0))
-
+ '''
# This can be used if we need particle leaves
# if (storeN == levels-1) and leaves:
# normalList = []