mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
hound fix
This commit is contained in:
parent
b01424111a
commit
5bb476cfa4
1 changed files with 0 additions and 5 deletions
|
|
@ -27,13 +27,8 @@ def post_process():
|
|||
import maya.utils
|
||||
from qtpy import QtWidgets
|
||||
|
||||
# I'm not sure this would work, but it'd be the simplest trick to try
|
||||
cmds.refresh(force=True)
|
||||
|
||||
# I suspect this might work
|
||||
maya.utils.processIdleEvents()
|
||||
|
||||
# I suspect this one might work too but it's might be a hard to track whether it solves all cases (and whether the events were already submitted to Qt at that time this command starts to run) So I'd always try to avoid this when possible.
|
||||
QtWidgets.QApplication.instance().processEvents()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue