diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 1eba7e46d2..109b4e3dc0 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -1702,13 +1702,20 @@ void FOOTPRINT::SetPosition( const VECTOR2I& aPos ) switch( item->Type() ) { case PCB_FP_SHAPE_T: - case PCB_FP_TEXTBOX_T: { FP_SHAPE* shape = static_cast( item ); shape->SetDrawCoord(); break; } + case PCB_FP_TEXTBOX_T: + { + FP_TEXTBOX* textb = static_cast( item ); + textb->SetDrawCoord(); + textb->ClearRenderCache(); + break; + } + case PCB_FP_TEXT_T: { FP_TEXT* text = static_cast( item );