From 54a3620339d9d6e1a69ba33369d2ed0dbe1da198 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 8 Nov 2019 13:03:20 +0200 Subject: [PATCH] QmlDesigner: Remove workaround for buggy DisableCulling QTBUG-79768 has been fixed, so the workaround can be removed. Change-Id: I649f295cacb8b1b87def58087cd60c7f62dc47c1 Reviewed-by: Thomas Hartmann Reviewed-by: Mahmoud Badri --- .../qml/qmlpuppet/mockfiles/PlanarDraggable.qml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/share/qtcreator/qml/qmlpuppet/mockfiles/PlanarDraggable.qml b/share/qtcreator/qml/qmlpuppet/mockfiles/PlanarDraggable.qml index f931ef77c49..7bb1085e65c 100644 --- a/share/qtcreator/qml/qmlpuppet/mockfiles/PlanarDraggable.qml +++ b/share/qtcreator/qml/qmlpuppet/mockfiles/PlanarDraggable.qml @@ -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