diff --git a/add_curve_sapling/__init__.py b/add_curve_sapling/__init__.py index e69757a6d6a63f2e1a666bec9774f04e0085d11c..e4f5b9ccdd60388d869ccd4231a76c00784b405d 100644 --- a/add_curve_sapling/__init__.py +++ b/add_curve_sapling/__init__.py @@ -19,7 +19,7 @@ bl_info = { "name": "Sapling", "author": "Andrew Hale (TrumanBlending)", - "version": (0, 2, 5), + "version": (0, 2, 6), "blender": (2, 6, 4), "location": "View3D > Add > Curve", "description": ("Adds a parametric tree. The method is presented by " diff --git a/add_curve_sapling/utils.py b/add_curve_sapling/utils.py index 9d7b17ca34632d006df98a4085f9490377f8f307..2aae8a624c4c0d86c3290d0a955f24e2eab78b55 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'