Update SCH_SCREENs RTree after placing new symbol.
Fixes https://gitlab.com/kicad/code/kicad/issues/8451
This commit is contained in:
parent
5f22025611
commit
45ba067642
|
@ -198,8 +198,6 @@ public:
|
||||||
SCH_ITEM* GetItem( const wxPoint& aPosition, int aAccuracy = 0,
|
SCH_ITEM* GetItem( const wxPoint& aPosition, int aAccuracy = 0,
|
||||||
KICAD_T aType = SCH_LOCATE_ANY_T ) const;
|
KICAD_T aType = SCH_LOCATE_ANY_T ) const;
|
||||||
|
|
||||||
void Place( SCH_EDIT_FRAME* frame, wxDC* DC ) { };
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the #LIB_PART reference for each #SCH_COMPONENT found in this schematic
|
* Initialize the #LIB_PART reference for each #SCH_COMPONENT found in this schematic
|
||||||
* from the project #SYMBOL_LIB_TABLE.
|
* from the project #SYMBOL_LIB_TABLE.
|
||||||
|
|
|
@ -281,6 +281,7 @@ int SCH_DRAWING_TOOLS::PlaceSymbol( const TOOL_EVENT& aEvent )
|
||||||
&m_selectionTool->GetSelection() );
|
&m_selectionTool->GetSelection() );
|
||||||
|
|
||||||
m_view->Update( symbol );
|
m_view->Update( symbol );
|
||||||
|
m_frame->GetScreen()->Update( symbol );
|
||||||
m_frame->OnModify();
|
m_frame->OnModify();
|
||||||
|
|
||||||
SCH_COMPONENT* nextSymbol = nullptr;
|
SCH_COMPONENT* nextSymbol = nullptr;
|
||||||
|
|
Loading…
Reference in New Issue