Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-07-21 05:38:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-21 05:38:04 +0300
commitda8a9e7520e103ced5721ef5e691283889ef2e65 (patch)
tree6690c916c4ff52c24f3f92dae3e9b67fe7b50770 /add_curve_sapling
parent71b932d1d13e6f1e1299b94d75f0875b54c6e860 (diff)
Fix T45504: Redo popup fails to update sapling UI
Diffstat (limited to 'add_curve_sapling')
-rw-r--r--add_curve_sapling/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/add_curve_sapling/__init__.py b/add_curve_sapling/__init__.py
index 00225217..fa1b3267 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