mirror of
https://github.com/leozide/leocad
synced 2024-12-27 21:58:37 +01:00
Update piece info on submodel edit end. Fixes #222
This commit is contained in:
parent
f99e6d7583
commit
df73a3569c
1 changed files with 7 additions and 0 deletions
|
@ -2707,7 +2707,14 @@ void lcMainWindow::HandleCommand(lcCommandId CommandId)
|
|||
|
||||
case LC_PIECE_EDIT_END_SUBMODEL:
|
||||
if (ActiveView)
|
||||
{
|
||||
ActiveView->SetTopSubmodelActive();
|
||||
if (ActiveModel)
|
||||
{
|
||||
lcArray<lcModel*> UpdatedModels;
|
||||
ActiveModel->UpdatePieceInfo(UpdatedModels);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case LC_PIECE_EDIT_SELECTED_SUBMODEL:
|
||||
|
|
Loading…
Reference in a new issue