Skip to content

Commit

Permalink
#5923: Handle position updates in StaticGeometryNodes, such that othe…
Browse files Browse the repository at this point in the history
…r nodes targeting the StaticGeometryNode can update their target lines
  • Loading branch information
codereader committed Mar 19, 2022
1 parent 416c1ff commit 9f9ca84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions radiantcore/entity/doom3group/StaticGeometryNode.cpp
Expand Up @@ -453,6 +453,9 @@ void StaticGeometryNode::_onTransformationChanged()
// If this is a container, pass the call to the children and leave the entity unharmed
if (!isModel())
{
// Notify, any targeting nodes need to update their arrows pointing at us
TargetableNode::onTransformationChanged();

scene::forEachTransformable(*this, [] (ITransformable& child)
{
child.revertTransform();
Expand Down

0 comments on commit 9f9ca84

Please sign in to comment.