mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
Fix - add object to attr.s declaration
Older Maya (Python2) doesn't like declaration of attr.s without (object)
This commit is contained in:
parent
31f6069280
commit
7bf51b760d
1 changed files with 4 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ def _validate_deadline_bool_value(instance, attribute, value):
|
|||
|
||||
|
||||
@attr.s
|
||||
class MayaPluginInfo:
|
||||
class MayaPluginInfo(object):
|
||||
SceneFile = attr.ib(default=None) # Input
|
||||
OutputFilePath = attr.ib(default=None) # Output directory and filename
|
||||
OutputFilePrefix = attr.ib(default=None)
|
||||
|
|
@ -63,7 +63,7 @@ class MayaPluginInfo:
|
|||
|
||||
|
||||
@attr.s
|
||||
class PythonPluginInfo:
|
||||
class PythonPluginInfo(object):
|
||||
ScriptFile = attr.ib()
|
||||
Version = attr.ib(default="3.6")
|
||||
Arguments = attr.ib(default=None)
|
||||
|
|
@ -71,7 +71,7 @@ class PythonPluginInfo:
|
|||
|
||||
|
||||
@attr.s
|
||||
class VRayPluginInfo:
|
||||
class VRayPluginInfo(object):
|
||||
InputFilename = attr.ib(default=None) # Input
|
||||
SeparateFilesPerFrame = attr.ib(default=None)
|
||||
VRayEngine = attr.ib(default="V-Ray")
|
||||
|
|
@ -82,7 +82,7 @@ class VRayPluginInfo:
|
|||
|
||||
|
||||
@attr.s
|
||||
class ArnoldPluginInfo:
|
||||
class ArnoldPluginInfo(object):
|
||||
ArnoldFile = attr.ib(default=None)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue