diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py index ac457172a1787c3fd0795769bcb7b93ae3f68483..66ca8c4506316f3968125c050e138d9af6f3f985 100644 --- a/add_curve_ivygen.py +++ b/add_curve_ivygen.py @@ -537,6 +537,10 @@ class IvyGen(bpy.types.Operator): return ((ob is not None) and (ob.type == 'MESH') and (context.mode == 'OBJECT')) + + def invoke(self, context, event): + self.updateIvy = True + return self.execute(context) def execute(self, context): if not self.updateIvy: