Update server_addon/maya/client/ayon_maya/plugins/load/load_ornatrix_cache.py

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Kayla Man 2024-06-24 21:03:25 +08:00 committed by GitHub
parent fe2d42299b
commit cc995f2570
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,8 +30,7 @@ class OxCacheLoader(plugin.Loader):
"""
# Ensure Ornatrix is loaded
if not cmds.pluginInfo("Ornatrix.mll", query=True, loaded=True):
cmds.loadPlugin("Ornatrix.mll", quiet=True)
cmds.loadPlugin("Ornatrix.mll", quiet=True)
product_type = context["product"]["productType"]
# Build namespace