diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 04:49:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 04:51:10 +0300 |
commit | 9999dada60a64eb27b37c4d711f4c3979888253e (patch) | |
tree | b325eb58ec754c883683696683933fc9d368eb0d /add_curve_sapling/utils.py | |
parent | dd0dffef42ae64d1bf16e879e3f1470ce3bf5cad (diff) |
Update for API change: scene.cursor_location -> scene.cursor.location
Note that some scripts still used the 3D view cursor which has been
removed for a while.
Diffstat (limited to 'add_curve_sapling/utils.py')
-rw-r--r-- | add_curve_sapling/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add_curve_sapling/utils.py b/add_curve_sapling/utils.py index 66ee91f6..5ea23001 100644 --- a/add_curve_sapling/utils.py +++ b/add_curve_sapling/utils.py @@ -1603,7 +1603,7 @@ def addTree(props): treeOb = bpy.data.objects.new('tree', cu) bpy.context.scene.collection.objects.link(treeOb) - # treeOb.location=bpy.context.scene.cursor_location attractUp + # treeOb.location=bpy.context.scene.cursor.location attractUp cu.dimensions = '3D' cu.fill_mode = 'FULL' |