diff options
author | Miikka Heikkinen <[email protected]> | 2024-05-07 13:41:14 +0300 |
---|---|---|
committer | Miikka Heikkinen <[email protected]> | 2024-05-21 09:45:30 +0000 |
commit | 14e0196442a85ea0b90d4d0769696fff6bf40270 (patch) | |
tree | b8e6aca7c1b314024f5d7a5d9ecfed559bbcfa44 /src/libs/qmlpuppetcommunication | |
parent | 872c4bf092bf5b7e8a563d3c841af0f8c6808739 (diff) |
Show 3D import preview
Show preview of 3D import in item library import dialog
when importing a single 3D asset.
Fixes: QDS-11111
Change-Id: I13135be1e931cbee034ca8a89654c0827b937bdf
Reviewed-by: Mahmoud Badri <[email protected]>
Reviewed-by: Qt CI Patch Build Bot <[email protected]>
Diffstat (limited to 'src/libs/qmlpuppetcommunication')
-rw-r--r-- | src/libs/qmlpuppetcommunication/commands/puppettocreatorcommand.h | 1 | ||||
-rw-r--r-- | src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/qmlpuppetcommunication/commands/puppettocreatorcommand.h b/src/libs/qmlpuppetcommunication/commands/puppettocreatorcommand.h index 1e8d82e632b..b0012f3eb24 100644 --- a/src/libs/qmlpuppetcommunication/commands/puppettocreatorcommand.h +++ b/src/libs/qmlpuppetcommunication/commands/puppettocreatorcommand.h @@ -18,6 +18,7 @@ public: ActiveSceneChanged, ActiveSplitChanged, RenderModelNodePreviewImage, + Import3DPreviewImage, Import3DSupport, NodeAtPos, BakeLightsProgress, diff --git a/src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h b/src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h index 3fdd7bf6cc5..06df0f79754 100644 --- a/src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h +++ b/src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h @@ -55,7 +55,8 @@ enum class View3DActionType { EditCameraRotation, EditCameraMove, EditCameraStopAllMoves, - SetLastSceneEnvData + SetLastSceneEnvData, + Import3dUpdatePreviewImage }; constexpr bool isNanotraceEnabled() |