[Bf-extensions-cvs] [d303eea0] master: Fix T73547: Removed Call To Deprecated Prop: D6739

meta-androcto noreply at git.blender.org
Tue Feb 4 06:57:56 CET 2020


Commit: d303eea099834fe51720ae10f25cb27cd19194a4
Author: meta-androcto
Date:   Tue Feb 4 16:57:35 2020 +1100
Branches: master
https://developer.blender.org/rBAd303eea099834fe51720ae10f25cb27cd19194a4

Fix T73547: Removed Call To Deprecated Prop: D6739

===================================================================

M	add_curve_extra_objects/add_curve_spirofit_bouncespline.py
M	add_curve_sapling/utils.py

===================================================================

diff --git a/add_curve_extra_objects/add_curve_spirofit_bouncespline.py b/add_curve_extra_objects/add_curve_spirofit_bouncespline.py
index 681734d9..97310799 100644
--- a/add_curve_extra_objects/add_curve_spirofit_bouncespline.py
+++ b/add_curve_extra_objects/add_curve_spirofit_bouncespline.py
@@ -890,7 +890,6 @@ def add_curve_object(
             spline.points[i].co = verts[i][0], verts[i][1], verts[i][2], 1
 
     scene.collection.objects.link(cur)
-    cur.data.use_uv_as_generated = True
     cur.data.resolution_u = resolution_u
     cur.data.fill_mode = 'FULL'
     cur.data.bevel_depth = bevel
diff --git a/add_curve_sapling/utils.py b/add_curve_sapling/utils.py
index 3dbe53af..a4beb313 100644
--- a/add_curve_sapling/utils.py
+++ b/add_curve_sapling/utils.py
@@ -1608,7 +1608,6 @@ def addTree(props):
     cu.fill_mode = 'FULL'
     cu.bevel_depth = bevelDepth
     cu.bevel_resolution = bevelRes
-    cu.use_uv_as_generated = True
 
     # Fix the scale of the tree now
     scaleVal = scale + uniform(-scaleV, scaleV)



More information about the Bf-extensions-cvs mailing list