mirror of
https://github.com/leozide/leocad.git
synced 2026-09-14 18:43:54 +00:00
Fixed a case where drag and drop a submodel didn't do anything.
This commit is contained in:
+1
-1
@@ -822,7 +822,7 @@ void View::OnDraw()
|
||||
|
||||
if (Info)
|
||||
{
|
||||
lcMatrix44 WorldMatrix = GetPieceInsertPosition(false, gMainWindow->GetCurrentPieceInfo());
|
||||
lcMatrix44 WorldMatrix = GetPieceInsertPosition(false, Info);
|
||||
|
||||
if (GetActiveModel() != mModel)
|
||||
WorldMatrix = lcMul(WorldMatrix, mActiveSubmodelTransform);
|
||||
|
||||
Reference in New Issue
Block a user