From 56e455a1835b68a43ffc6fca7209ad094635e4f2 Mon Sep 17 00:00:00 2001 From: Benoit LELANDAIS Date: Fri, 10 Oct 2025 15:44:17 +0200 Subject: [PATCH] Fix undo clear group bug --- src/Core/Internal/InfoCommand.cpp | 7 +++++-- src/Core/Mesh/CommandClearGroupName.cpp | 27 +++++++++++++------------ 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/Core/Internal/InfoCommand.cpp b/src/Core/Internal/InfoCommand.cpp index e30cf6a2..fd8701aa 100644 --- a/src/Core/Internal/InfoCommand.cpp +++ b/src/Core/Internal/InfoCommand.cpp @@ -217,12 +217,15 @@ void InfoCommand::addGroupInfoEntity(Group::GroupEntity* entity, type t) TkUtil::AutoMutex autoMutex (&m_mutex); #ifdef _DEBUG2 std::cout<<"addGroupInfoEntity("<getName()<<" (id "<getUniqueId()<<")," - < "< "< "<::iterator iter = m_geom_entities.begin(); @@ -360,14 +369,6 @@ void CommandClearGroupName::internalRedo() } break; } - - getInfoCommand().permCreatedDeleted(); - - // suppression de ce qui a été ajouté - deleteCreatedMeshEntities(); - - // permute toutes les propriétés internes avec leur sauvegarde - permInternalsStats(); } /*----------------------------------------------------------------------------*/ void CommandClearGroupName::