Merge pull request #1882 from aws-lumberyard-dev/pruiksma/fix_punctual_light_unhiding_transform

Fixing simple light types appearing back at 0,0,0 after hiding/unhiding.
This commit is contained in:
Jon B
2021-07-07 09:13:51 -07:00
committed by GitHub
@@ -134,6 +134,11 @@ namespace AZ
// For lights that get their transform from the shape bus, force an OnShapeChanged to update the transform.
OnShapeChanged(ShapeChangeReasons::TransformChanged);
}
else
{
// OnShapeChanged() already calls this for delegates with a shape bus
HandleShapeChanged();
}
}
}