mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
update docstring
This commit is contained in:
parent
12e0af8c63
commit
3020ccd90a
1 changed files with 4 additions and 6 deletions
|
|
@ -36,13 +36,11 @@ class ArnoldStandinLoader(load.LoaderPlugin):
|
|||
|
||||
def load(self, context, name, namespace, options):
|
||||
if not cmds.pluginInfo("mtoa", query=True, loaded=True):
|
||||
# Allow mtoa plugin load to process all its events
|
||||
# because otherwise `defaultArnoldRenderOptions.operator`
|
||||
# does not exist yet and some connections to the standin
|
||||
# can't be correctly generated on create resulting in an error
|
||||
cmds.loadPlugin("mtoa")
|
||||
# create defaultArnoldRenderOptions for
|
||||
# `defaultArnoldRenderOptions.operator``
|
||||
# create defaultArnoldRenderOptions before creating aiStandin
|
||||
# which tried to connect it. Since we load the plugin and directly
|
||||
# create aiStandin without the defaultArnoldRenderOptions,
|
||||
# here needs to create the render options for aiStandin creation.
|
||||
from mtoa.core import createOptions
|
||||
createOptions()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue