[Bf-extensions-cvs] [a04af35] master: Fix: T49025 ivy gen invoke thanks @batfinger

meta-androcto noreply at git.blender.org
Fri Aug 12 02:54:47 CEST 2016


Commit: a04af35e720b10c776f2e0ea94a09c08cd14a842
Author: meta-androcto
Date:   Fri Aug 12 10:54:15 2016 +1000
Branches: master
https://developer.blender.org/rBAa04af35e720b10c776f2e0ea94a09c08cd14a842

Fix: T49025 ivy gen invoke thanks @batfinger

===================================================================

M	add_curve_ivygen.py

===================================================================

diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py
index ac45717..66ca8c4 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:



More information about the Bf-extensions-cvs mailing list