Optimize various engine code

This commit is contained in:
Wojtek Figat
2021-07-08 12:59:45 +02:00
parent e6ffcfb60d
commit 929476a322
3 changed files with 57 additions and 16 deletions

View File

@@ -1090,7 +1090,7 @@ void Actor::OnTransformChanged()
if (_parent)
{
_parent->GetTransform().LocalToWorld(_localTransform, _transform);
_parent->_transform.LocalToWorld(_localTransform, _transform);
}
else
{