Browse Source
Calling UpdateItem() may be performed by in a common loop, e.g. for( SCH_ITEM* item : GetScreen()->Items() ) or similar. We cannot call GetScreen()->Update( SCH_ITEM* ) in this routine as it will remove and re-add the item to the RTree, invalidating iterators. If needed, the items need to be cached to an external container before updating Fixes https://gitlab.com/kicad/code/kicad/issues/93186.0.7
14 changed files with 28 additions and 23 deletions
Loading…
Reference in new issue