mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Hound fix
This commit is contained in:
parent
bfdfa78e57
commit
a6556b4c2c
1 changed files with 2 additions and 1 deletions
|
|
@ -273,7 +273,8 @@ def _independent_window():
|
|||
current_windows = set(bpy.context.window_manager.windows)
|
||||
with bpy.context.temp_override(**context):
|
||||
bpy.ops.wm.window_new()
|
||||
window = list(set(bpy.context.window_manager.windows) - current_windows)[0]
|
||||
window = list(
|
||||
set(bpy.context.window_manager.windows) - current_windows)[0]
|
||||
context["window"] = window
|
||||
try:
|
||||
yield window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue