Collapse Redraw3DView and Update3DView into a single routine.

Also fixes some errors about what the flag meant (model changed,
NOT redraw immediately).

Fixes https://gitlab.com/kicad/code/kicad/issues/6478
This commit is contained in:
Jeff Young
2020-11-29 21:08:30 +00:00
parent 3ca06700fc
commit b171d381f0
6 changed files with 11 additions and 25 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ void BOARD_COMMIT::Push( const wxString& aMessage, bool aCreateUndoEntry, bool a
if( aSetDirtyBit )
frame->OnModify();
else
frame->Update3DView( false );
frame->Update3DView( true );
frame->UpdateMsgPanel();