Fix T45504: Redo popup fails to update sapling UI
This commit is contained in:
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
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue