diff --git a/eeschema/schematic_undo_redo.cpp b/eeschema/schematic_undo_redo.cpp index 1ef5fdf4a3..faf4d204c8 100644 --- a/eeschema/schematic_undo_redo.cpp +++ b/eeschema/schematic_undo_redo.cpp @@ -350,9 +350,6 @@ void SCH_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList ) } } - // Bitmaps are cached in Opengl: clear the cache, because - // the cache data can be invalid - GetCanvas()->GetView()->RecacheAllItems(); GetCanvas()->GetView()->ClearHiddenFlags(); } @@ -383,7 +380,6 @@ void SCH_EDIT_FRAME::RollbackSchematicFromUndo() m_toolManager->GetTool()->RebuildSelection(); } - SyncView(); GetCanvas()->Refresh(); }