[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3275] trunk/py/scripts/addons/ add_curve_sapling/utils.py: remove some broken code, patch by Andrew Hale but has no svn access atm.

Campbell Barton ideasman42 at gmail.com
Wed Apr 18 14:37:10 CEST 2012


Revision: 3275
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3275
Author:   campbellbarton
Date:     2012-04-18 12:37:09 +0000 (Wed, 18 Apr 2012)
Log Message:
-----------
remove some broken code, patch by Andrew Hale but has no svn access atm.

Modified Paths:
--------------
    trunk/py/scripts/addons/add_curve_sapling/utils.py

Modified: trunk/py/scripts/addons/add_curve_sapling/utils.py
===================================================================
--- trunk/py/scripts/addons/add_curve_sapling/utils.py	2012-04-18 01:45:43 UTC (rev 3274)
+++ trunk/py/scripts/addons/add_curve_sapling/utils.py	2012-04-18 12:37:09 UTC (rev 3275)
@@ -760,12 +760,14 @@
             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 = []



More information about the Bf-extensions-cvs mailing list