diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py index 54ac139f9afd7f14cb6f602098da712a46aa70c5..4a73ee0f10a0233338a9f13d83847774e912d15c 100644 --- a/add_curve_ivygen.py +++ b/add_curve_ivygen.py @@ -516,11 +516,10 @@ class IvyGen(bpy.types.Operator): min=0.0, soft_max=2.0, precision=2) - randomSeed = FloatProperty(name="Random Seed", + randomSeed = IntProperty(name="Random Seed", description="The seed governing random generation.", default=0, - min=0.0, - soft_max=10) + min=0) maxTime = FloatProperty(name="Maximum Time", description=("The maximum time to run the generation for " "in seconds generation (0.0 = Disabled)"), @@ -557,7 +556,7 @@ class IvyGen(bpy.types.Operator): seedPoint = context.scene.cursor_location # Fix the random seed - rand_seed(int(self.randomSeed)) + rand_seed(self.randomSeed) # Make the new ivy IVY = Ivy(**self.as_keywords(ignore=('randomSeed', 'growLeaves', @@ -695,4 +694,4 @@ def unregister(): if __name__ == "__main__": - register() + register() \ No newline at end of file