[Bf-extensions-cvs] [da8a9e7] master: Fix T45504: Redo popup fails to update sapling UI
Campbell Barton
noreply at git.blender.org
Tue Jul 21 04:43:03 CEST 2015
Commit: da8a9e7520e103ced5721ef5e691283889ef2e65
Author: Campbell Barton
Date: Tue Jul 21 12:38:04 2015 +1000
Branches: master
https://developer.blender.org/rBAda8a9e7520e103ced5721ef5e691283889ef2e65
Fix T45504: Redo popup fails to update sapling UI
===================================================================
M add_curve_sapling/__init__.py
===================================================================
diff --git a/add_curve_sapling/__init__.py b/add_curve_sapling/__init__.py
index 0022521..fa1b326 100644
--- a/add_curve_sapling/__init__.py
+++ b/add_curve_sapling/__init__.py
@@ -396,6 +396,10 @@ class AddTree(bpy.types.Operator):
def poll(cls, context):
return context.mode == 'OBJECT'
+ def check(self, context):
+ # TODO, should check exact vars which require redraw
+ return True
+
def draw(self, context):
layout = self.layout
More information about the Bf-extensions-cvs
mailing list