forked from qt-creator/qt-creator
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:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user