mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix(nuke: removing annoying message window
happened every time log.error happened
This commit is contained in:
parent
8b014bcb23
commit
b0da1c9013
12 changed files with 133 additions and 91 deletions
|
|
@ -1,4 +1,5 @@
|
|||
from avalon import api
|
||||
import nuke
|
||||
|
||||
|
||||
class MatchmoveLoader(api.Loader):
|
||||
|
|
@ -19,6 +20,8 @@ class MatchmoveLoader(api.Loader):
|
|||
exec(open(self.fname).read())
|
||||
|
||||
else:
|
||||
self.log.error("Unsupported script type")
|
||||
msg = "Unsupported script type"
|
||||
self.log.error(msg)
|
||||
nuke.message(msg)
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue