Fixed a case where drag and drop a submodel didn't do anything.

This commit is contained in:
Leonardo Zide
2020-02-01 11:34:56 -08:00
parent 60aca425a0
commit fb7f952e98
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -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);