diff options
author | Janne Kangas <janne.kangas@qt.io> | 2018-08-22 10:31:47 +0300 |
---|---|---|
committer | Janne Kangas <janne.kangas@qt.io> | 2018-09-14 04:55:30 +0000 |
commit | c876a6832fa6bf6d05b8e2ec0f0d51b96e85fbba (patch) | |
tree | 1e7829598f196a2ac0b166efe8d232ba2b88f00e /src/Authoring/Client/Code/Core/Doc/IDocumentEditor.h | |
parent | 39439a404881f7df2b3503c0f38f2aa1b684725d (diff) |
Do not display rename notification on object duplication/add
Do not show "object was renamed" -warning on object duplication or
add. Editor selects the new object by default, so the new object name is
highlighted indirectly to the user. Warning is still shown for drag moves
of objects already in scene.
Change-Id: I6bb9ce733097b7b49802b717da27caf32fe15a4f
Task-id: QT3DS-1734
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Client/Code/Core/Doc/IDocumentEditor.h')
-rw-r--r-- | src/Authoring/Client/Code/Core/Doc/IDocumentEditor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Authoring/Client/Code/Core/Doc/IDocumentEditor.h b/src/Authoring/Client/Code/Core/Doc/IDocumentEditor.h index e557573f..824b80ec 100644 --- a/src/Authoring/Client/Code/Core/Doc/IDocumentEditor.h +++ b/src/Authoring/Client/Code/Core/Doc/IDocumentEditor.h @@ -284,15 +284,15 @@ public: virtual void RearrangeObjects(const qt3dsdm::TInstanceHandleList &inInstances, TInstanceHandle inDest, DocumentEditorInsertType::Enum inInsertType, - bool checkUniqueName = true) = 0; + bool checkUniqueName = true, bool notifyRename = true) = 0; void RearrangeObject(TInstanceHandle inInstance, TInstanceHandle inDest, DocumentEditorInsertType::Enum inInsertType, - bool checkUniqueName = true) + bool checkUniqueName = true, bool notifyRename = true) { qt3dsdm::TInstanceHandleList theInstances; theInstances.push_back(inInstance); - RearrangeObjects(theInstances, inDest, inInsertType, checkUniqueName); + RearrangeObjects(theInstances, inDest, inInsertType, checkUniqueName, notifyRename); } virtual void ungroupObjects(const qt3dsdm::TInstanceHandleList &inInstances) = 0; |