forked from qt-creator/qt-creator
QmlDesigner: Center on selection box when fit tool is used in 3D Edit
Instead of centering edit camera on selected object, center it on the selection box, which includes child objects. Change-Id: I7315a4bcfffc74e72a2b21d0a04fc99ee9f4f3c3 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -32,6 +32,7 @@ Node {
|
||||
|
||||
property View3D view3D
|
||||
property Node targetNode: null
|
||||
property alias model: selectionBoxModel
|
||||
|
||||
SelectionBoxGeometry {
|
||||
id: selectionBoxGeometry
|
||||
|
||||
Reference in New Issue
Block a user