Fix T45504: Redo popup fails to update sapling UI

This commit is contained in:
Campbell Barton 2015-07-21 12:38:04 +10:00
parent 71b932d1d1
commit da8a9e7520
Notes: blender-bot 2023-02-14 08:52:08 +01:00
Referenced by issue blender/blender#45504, F6 redo_last popup doesn't redraw when attributes change
1 changed files with 4 additions and 0 deletions

View File

@ -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