From 2bc0a0df5bb18c4b41a22fbde5ffb9d92c9f0109 Mon Sep 17 00:00:00 2001 From: Andrew Hale <TrumanBlending@gmail.com> Date: Fri, 19 Aug 2011 05:08:53 +0000 Subject: [PATCH] Version 0.1.1: - Fixed an issue where 'Add New Ivy' and 'Add New Default Ivy' did nothing - Updated Blender version to 2.59 - Updated Blender revision to 39307 --- add_curve_ivygen.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py index 408fce3ae..5d09d1109 100644 --- a/add_curve_ivygen.py +++ b/add_curve_ivygen.py @@ -21,9 +21,9 @@ bl_info = { "name": "IvyGen", "author": "testscreenings, PKHG, TrumanBlending", - "version": (0, 1, 0), - "blender": (2, 5, 8), - "api": 38479, + "version": (0, 1, 1), + "blender": (2, 5, 9), + "api": 39307, "location": "View3D > Add > Curve", "description": "Adds generated ivy to a mesh object starting at the 3D"\ " cursor.", @@ -628,9 +628,11 @@ class IvyGen(bpy.types.Operator): properties.leafProbability = self.leafProbability properties.ivyBranchSize = self.ivyBranchSize properties.ivyLeafSize = self.ivyLeafSize + properties.updateIvy = True row = layout.row() - row.operator('curve.ivy_gen', text="Add New Default Ivy") + prop_def = row.operator('curve.ivy_gen', text="Add New Default Ivy") + prop_def.updateIvy = True row = layout.row() row.prop(self, 'growLeaves') @@ -693,4 +695,4 @@ def unregister(): if __name__ == "__main__": - register() + register() \ No newline at end of file -- GitLab