diff options
author | Brendon Murphy <meta.androcto1@gmail.com> | 2014-08-04 22:22:08 +0400 |
---|---|---|
committer | Brendon Murphy <meta.androcto1@gmail.com> | 2014-08-04 22:22:08 +0400 |
commit | 0e536cd1b7225ef7b6c9edd982b2d9d5c527ce92 (patch) | |
tree | f7084adcc8be74512fe19360e94e7bd60e381ed2 /add_curve_sapling/__init__.py | |
parent | 9c46a10d07e8ab0cea3734c509c54d21205ea1e2 (diff) |
fixes for T41099 and T38495 by purplefrog in irc, added warning "Armature Mode buggy"
Diffstat (limited to 'add_curve_sapling/__init__.py')
-rw-r--r-- | add_curve_sapling/__init__.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/add_curve_sapling/__init__.py b/add_curve_sapling/__init__.py index 78f2ebb6..a5739cbd 100644 --- a/add_curve_sapling/__init__.py +++ b/add_curve_sapling/__init__.py @@ -25,7 +25,7 @@ bl_info = { "description": ("Adds a parametric tree. The method is presented by " "Jason Weber & Joseph Penn in their paper 'Creation and Rendering of " "Realistic Trees'."), - "warning": "", + "warning": "Armature Mode buggy", "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/" "Scripts/Curve/Sapling_Tree", "category": "Add Curve", @@ -323,8 +323,10 @@ class AddTree(bpy.types.Operator): min=0.0, max=1.0, default=1.0, update=update_tree) - leaves = IntProperty(name='Leaves', + leaves = FloatProperty(name='Leaves', description='Maximum number of leaves per branch (Leaves)', + min=0, + max=50, default=25, update=update_tree) leafScale = FloatProperty(name='Leaf Scale', description='The scaling applied to the whole leaf (LeafScale)', |