forked from qt-creator/qt-creator
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:
@@ -40,7 +40,7 @@ public:
|
||||
ActiveSceneChanged,
|
||||
RenderModelNodePreviewImage,
|
||||
Import3DSupport,
|
||||
ModelAtPos,
|
||||
NodeAtPos,
|
||||
None };
|
||||
|
||||
PuppetToCreatorCommand(Type type, const QVariant &data);
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
SelectGridColor,
|
||||
ResetBackgroundColor,
|
||||
SyncBackgroundColor,
|
||||
GetModelAtPos
|
||||
GetNodeAtPos
|
||||
};
|
||||
|
||||
View3DActionCommand(Type type, const QVariant &value);
|
||||
|
||||
Reference in New Issue
Block a user