mirror of
https://github.com/leozide/leocad.git
synced 2026-10-26 22:10:32 +00:00
Restore external project references when undoing deletion
This commit is contained in:
1 parent
8ceceb95ba
commit
669467d305
1 file changed
+1
-1
+1
-1
@@ -1030,7 +1030,7 @@ void lcPiece::SetHistoryState(const lcPieceHistoryState& State, const lcModel* M
|
||||
mPosition = State.Position;
|
||||
mRotation = State.Rotation;
|
||||
|
||||
PieceInfo* Info = lcGetPiecesLibrary()->FindPiece(mID.toLatin1(), Model->GetProject(), true, false);
|
||||
PieceInfo* Info = lcGetPiecesLibrary()->FindPiece(mID.toLatin1(), Model->GetProject(), true, true);
|
||||
|
||||
if (mPieceInfo != Info)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user