mirror of
https://github.com/leozide/leocad
synced 2024-12-27 21:58:37 +01:00
Fixed multiple selection.
This commit is contained in:
parent
2b14b67eb1
commit
80c226db56
1 changed files with 1 additions and 1 deletions
|
@ -2002,7 +2002,7 @@ void View::UpdateTrackTool()
|
|||
lcObjectSection ObjectSection = FindObjectUnderPointer(false, false);
|
||||
lcObject* Object = ObjectSection.Object;
|
||||
|
||||
if (Object && Object->IsPiece() && ObjectSection.Section == LC_PIECE_SECTION_POSITION)
|
||||
if (Object && Object->IsPiece() && ObjectSection.Section == LC_PIECE_SECTION_POSITION && Object->IsSelected())
|
||||
{
|
||||
lcPiece* Piece = (lcPiece*)Object;
|
||||
mMouseDownPosition = Piece->mModelWorld.GetTranslation();
|
||||
|
|
Loading…
Reference in a new issue