FIxing some stuff ?

This commit is contained in:
Sam Gateau 2019-10-04 17:55:37 -07:00
parent a5ccd07347
commit d714cc6da6

View file

@ -98,14 +98,28 @@ Rectangle {
property: "opacity" property: "opacity"
readOnly: isReadOnly readOnly: isReadOnly
} }
Prop.PropEnum { Prop.PropString {
visible: hasMaterial && ("opacityMap" in theMaterialAttributes)
label: "opacityMap"
object: theMaterialAttributes
property: "opacityMap"
readOnly: isReadOnly
}
Prop.PropString {
visible: hasMaterial && ("opacityMapMode" in theMaterialAttributes)
label: "opacityMapMode"
object: theMaterialAttributes
property: "opacityMapMode"
readOnly: isReadOnly
}
/*Prop.PropEnum {
visible: hasMaterial && ("opacityMapMode" in theMaterialAttributes) visible: hasMaterial && ("opacityMapMode" in theMaterialAttributes)
label: "opacityMapMode" label: "opacityMapMode"
object: theMaterialAttributes object: theMaterialAttributes
property: "opacityMapMode" property: "opacityMapMode"
readOnly: isReadOnly readOnly: isReadOnly
enums: ["None", "Mask", "Blend"] enums: ["None", "Mask", "Blend"]
} } */
Prop.PropScalar { Prop.PropScalar {
visible: hasMaterial && ("opacityCutoff" in theMaterialAttributes) visible: hasMaterial && ("opacityCutoff" in theMaterialAttributes)
label: "opacity Cutoff" label: "opacity Cutoff"