mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
Use set literal for SHAPE_ATTRS
This commit is contained in:
parent
b61b9848b2
commit
51f8713ff4
1 changed files with 2 additions and 5 deletions
|
|
@ -25,7 +25,7 @@ ATTRIBUTE_DICT = {"int": {"attributeType": "long"},
|
|||
"float": {"attributeType": "double"},
|
||||
"bool": {"attributeType": "bool"}}
|
||||
|
||||
SHAPE_ATTRS = ["castsShadows",
|
||||
SHAPE_ATTRS = {"castsShadows",
|
||||
"receiveShadows",
|
||||
"motionBlur",
|
||||
"primaryVisibility",
|
||||
|
|
@ -33,7 +33,7 @@ SHAPE_ATTRS = ["castsShadows",
|
|||
"visibleInReflections",
|
||||
"visibleInRefractions",
|
||||
"doubleSided",
|
||||
"opposite"]
|
||||
"opposite"}
|
||||
|
||||
RENDER_ATTRS = {"vray":
|
||||
{
|
||||
|
|
@ -51,9 +51,6 @@ RENDER_ATTRS = {"vray":
|
|||
}
|
||||
|
||||
|
||||
SHAPE_ATTRS = set(SHAPE_ATTRS)
|
||||
|
||||
|
||||
DEFAULT_MATRIX = [1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue