make sure shader is always true if it is not in the instance.data

This commit is contained in:
Kayla Man 2024-06-19 22:27:15 +08:00
parent 819664cf05
commit 4265c92cea

View file

@ -96,7 +96,7 @@ class ExtractMayaSceneRaw(plugin.MayaExtractorPlugin, AYONPyblishPluginMixin):
"preserve_references"
],
constructionHistory=True,
shader=True if instance.data.get("shader", False) else False,
shader=True if instance.data.get("shader", True) else False,
constraints=True,
expressions=True)