mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
27 lines
755 B
Python
27 lines
755 B
Python
import avalon.maya
|
|
|
|
|
|
class CreateVRayScene(avalon.maya.Creator):
|
|
|
|
label = "VRay Scene"
|
|
family = "vrayscene"
|
|
icon = "cubes"
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
super(CreateVRayScene, self).__init__(*args, **kwargs)
|
|
|
|
# We don't need subset or asset attributes
|
|
self.data.pop("subset", None)
|
|
self.data.pop("asset", None)
|
|
self.data.pop("active", None)
|
|
|
|
self.data.update({
|
|
"id": "avalon.vrayscene", # We won't be publishing this one
|
|
"suspendRenderJob": False,
|
|
"suspendPublishJob": False,
|
|
"extendFrames": False,
|
|
"pools": "",
|
|
"framesPerTask": 1
|
|
})
|
|
|
|
self.options = {"useSelection": False} # Force no content
|