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:
Diffstat (limited to 'add_curve_sapling/utils.py')
-rw-r--r--add_curve_sapling/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/add_curve_sapling/utils.py b/add_curve_sapling/utils.py
index 9d7b17ca..2aae8a62 100644
--- a/add_curve_sapling/utils.py
+++ b/add_curve_sapling/utils.py
@@ -482,6 +482,8 @@ def addTree(props):
cu = bpy.data.curves.new('tree','CURVE')
treeOb = bpy.data.objects.new('tree',cu)
bpy.context.scene.objects.link(treeOb)
+
+ treeOb.location=bpy.context.scene.cursor_location
cu.dimensions = '3D'
cu.fill_mode = 'FULL'