diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-18 22:00:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-18 22:00:16 +0300 |
commit | e7d2a4718d5e9a8e55af3003f90e2eb480b178bc (patch) | |
tree | b6845a752af0a399e02d59be5bc4dc56db661214 /release/scripts/modules | |
parent | 1fd11dd3ba83663939aefc96a435cc0e5b5b68e3 (diff) |
Fix popover args when called from Python
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index fd6f8e23727..04bb6495ece 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -144,9 +144,9 @@ class WindowManager(bpy_types.ID): finally: self.popmenu_end__internal(popup) - def popover(self, draw_func, title="", icon='NONE'): + def popover(self, draw_func): import bpy - popup = self.popover_begin__internal(title, icon) + popup = self.popover_begin__internal() try: draw_func(popup, bpy.context) |