QmlDesigner: Remove workaround for buggy DisableCulling

QTBUG-79768 has been fixed, so the workaround can be removed.

Change-Id: I649f295cacb8b1b87def58087cd60c7f62dc47c1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Miikka Heikkinen
2019-11-08 13:03:20 +02:00
parent 862b7fa35c
commit 54a3620339

View File

@@ -49,18 +49,11 @@ Model {
rotationOrder: Node.XYZr rotationOrder: Node.XYZr
source: "#Rectangle" source: "#Rectangle"
// Workaround for Material.DisableCulling bug QTBUG-79768: Show the back with another model
Model {
source: rootModel.source
rotationOrder: rootModel.rotationOrder
materials: gizmoMaterial
rotation: Qt.vector3d(0, 180, 0)
}
DefaultMaterial { DefaultMaterial {
id: gizmoMaterial id: gizmoMaterial
emissiveColor: "white" emissiveColor: "white"
lighting: DefaultMaterial.NoLighting lighting: DefaultMaterial.NoLighting
cullingMode: Material.DisableCulling
} }
materials: gizmoMaterial materials: gizmoMaterial