QmlDesigner: Fix 3D edit view after Quick3DAPI changes

Use importScene property instead of scene.

Change-Id: I863e9233da9806952f539eef25fe1f166b3b8e37
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Miikka Heikkinen
2019-11-04 13:29:20 +02:00
parent cf3772ca77
commit fbe83ceba5

View File

@@ -38,7 +38,7 @@ Window {
title: "3D" title: "3D"
flags: Qt.WindowStaysOnTopHint | Qt.Window | Qt.WindowTitleHint | Qt.WindowCloseButtonHint flags: Qt.WindowStaysOnTopHint | Qt.Window | Qt.WindowTitleHint | Qt.WindowCloseButtonHint
property alias scene: editView.scene property alias scene: editView.importScene
property alias showEditLight: editLightCheckbox.checked property alias showEditLight: editLightCheckbox.checked
property alias usePerspective: usePerspectiveCheckbox.checked property alias usePerspective: usePerspectiveCheckbox.checked
@@ -181,7 +181,7 @@ Window {
id: overlayView id: overlayView
anchors.fill: parent anchors.fill: parent
camera: usePerspective ? overlayPerspectiveCamera : overlayOrthoCamera camera: usePerspective ? overlayPerspectiveCamera : overlayOrthoCamera
scene: overlayScene importScene: overlayScene
} }
Overlay2D { Overlay2D {