diff --git a/inc/hgl/math/Transform.h b/inc/hgl/math/Transform.h index 6730a4f..abd393c 100644 --- a/inc/hgl/math/Transform.h +++ b/inc/hgl/math/Transform.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once #include #include #include @@ -633,7 +633,7 @@ namespace hgl bool has_update=false; for(TransformBase *tb:transform_list) - if(tb->Update()) + if(tb->UpdateNewestData()) has_update=true; if(has_update)