Removed apply_settings override to fix plugin settings actually being applied

This makes it so again that it's up to the studio admin to enable or disable the plug-in per project instead of whether the modeler's workfile just happened to have the current renderer set to arnold or not. Note that the plug-in is currently disabled by default in project settings.
This commit is contained in:
Roy Nieterau 2023-08-30 14:42:46 +02:00
parent 3b8df1ac2b
commit 689da974c4

View file

@ -39,12 +39,6 @@ class ValidateMeshArnoldAttributes(pyblish.api.InstancePlugin,
# cache (will be `dict` when cached)
arnold_mesh_defaults = None
@classmethod
def apply_settings(cls, project_settings, system_settings):
# todo: this should not be done this way
attr = "defaultRenderGlobals.currentRenderer"
cls.active = cmds.getAttr(attr).lower() == "arnold"
@classmethod
def get_default_attributes(cls):