diff --git a/add_curve_sapling/utils.py b/add_curve_sapling/utils.py index f74fcef337dfafe1e18d0d212e7f0be06ffcb6b6..9d7b17ca34632d006df98a4085f9490377f8f307 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 = []