[Bf-extensions-cvs] [f028fe8] master: Fix T41711: add trees addons bug.
Bastien Montagne
noreply at git.blender.org
Thu Sep 4 17:13:04 CEST 2014
Commit: f028fe85637ca70251cd8f3c1e1f4030c4df9c2b
Author: Bastien Montagne
Date: Thu Sep 4 17:12:33 2014 +0200
Branches: master
https://developer.blender.org/rBAf028fe85637ca70251cd8f3c1e1f4030c4df9c2b
Fix T41711: add trees addons bug.
Just forbid null scale value...
===================================================================
M add_curve_sapling/__init__.py
===================================================================
diff --git a/add_curve_sapling/__init__.py b/add_curve_sapling/__init__.py
index 089251e..b27dd6a 100644
--- a/add_curve_sapling/__init__.py
+++ b/add_curve_sapling/__init__.py
@@ -244,7 +244,7 @@ class AddTree(bpy.types.Operator):
size=4, update=update_tree)
scale = FloatProperty(name='Scale',
description='The tree scale (Scale)',
- min=0.0,
+ min=0.001,
default=13.0, update=update_tree)
scaleV = FloatProperty(name='Scale Variation',
description='The variation in the tree scale (ScaleV)',
More information about the Bf-extensions-cvs
mailing list