mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Set parentID even when overlay already exists
This commit is contained in:
parent
9c0026bf69
commit
7d125f44e4
1 changed files with 1 additions and 1 deletions
|
@ -58,9 +58,9 @@ bool ContextOverlayInterface::createOrDestroyContextOverlay(const EntityItemID&
|
|||
_bbOverlay->setColor(BB_OVERLAY_COLOR);
|
||||
_bbOverlay->setDrawInFront(true);
|
||||
_bbOverlay->setIgnoreRayIntersection(true);
|
||||
_bbOverlay->setParentID(entityItemID);
|
||||
_bbOverlayID = qApp->getOverlays().addOverlay(_bbOverlay);
|
||||
}
|
||||
_bbOverlay->setParentID(entityItemID);
|
||||
_bbOverlay->setDimensions(entityProperties.getDimensions());
|
||||
_bbOverlay->setRotation(entityProperties.getRotation());
|
||||
_bbOverlay->setPosition(bbPosition);
|
||||
|
|
Loading…
Reference in a new issue