forked from qt-creator/qt-creator
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:
@@ -49,18 +49,11 @@ Model {
|
||||
rotationOrder: Node.XYZr
|
||||
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 {
|
||||
id: gizmoMaterial
|
||||
emissiveColor: "white"
|
||||
lighting: DefaultMaterial.NoLighting
|
||||
cullingMode: Material.DisableCulling
|
||||
}
|
||||
materials: gizmoMaterial
|
||||
|
||||
|
Reference in New Issue
Block a user