QmlDesigner: Add support any pickable node with 3d view context menu

Previously only 3D models could be picked for context menu target.
Now any node that can be resolved from a point at 3D edit view can be
picked.

Fixes: QDS-7518
Change-Id: Id4a30d96744c42907d45688493776bdff35b934e
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Miikka Heikkinen
2022-09-06 15:10:53 +03:00
parent a9576256b8
commit 3485d97755
16 changed files with 105 additions and 38 deletions

View File

@@ -40,7 +40,7 @@ public:
ActiveSceneChanged,
RenderModelNodePreviewImage,
Import3DSupport,
ModelAtPos,
NodeAtPos,
None };
PuppetToCreatorCommand(Type type, const QVariant &data);

View File

@@ -60,7 +60,7 @@ public:
SelectGridColor,
ResetBackgroundColor,
SyncBackgroundColor,
GetModelAtPos
GetNodeAtPos
};
View3DActionCommand(Type type, const QVariant &value);