Don't zoom when loading a file for undo or redo.

This commit is contained in:
leo 2012-12-13 23:58:03 +00:00
parent 58cf189d63
commit ae0a6109ba

View file

@ -774,7 +774,8 @@ bool Project::FileLoad(lcFile* file, bool bUndo, bool bMerge)
view->SetDefaultCamera(); view->SetDefaultCamera();
} }
ZoomExtents(0, m_ViewList.GetSize()); if (!bUndo)
ZoomExtents(0, m_ViewList.GetSize());
} }
SetAction(action); SetAction(action);