Browse Source

Minor change

Panagiotis Christopoulos Charitos 2 years ago
parent
commit
14d9178e7b
3 changed files with 3 additions and 3 deletions
  1. 1 1
      AnKi/Scene/Components/MoveComponent.cpp
  2. 1 1
      AnKi/Scene/SceneNode.cpp
  3. 1 1
      AnKi/Scene/SceneNode.h

+ 1 - 1
AnKi/Scene/Components/MoveComponent.cpp

@@ -10,7 +10,7 @@ namespace anki {
 
 
 Error MoveComponent::update(SceneComponentUpdateInfo& info, Bool& updated)
 Error MoveComponent::update(SceneComponentUpdateInfo& info, Bool& updated)
 {
 {
-	updated = info.m_node->updateTransform(*info.m_framePool);
+	updated = info.m_node->updateTransform();
 	return Error::kNone;
 	return Error::kNone;
 }
 }
 
 

+ 1 - 1
AnKi/Scene/SceneNode.cpp

@@ -110,7 +110,7 @@ void SceneNode::newComponentInternal(SceneComponent* newc)
 	});
 	});
 }
 }
 
 
-Bool SceneNode::updateTransform(StackMemoryPool& framePool)
+Bool SceneNode::updateTransform()
 {
 {
 	const Bool needsUpdate = m_localTransformDirty;
 	const Bool needsUpdate = m_localTransformDirty;
 	m_localTransformDirty = false;
 	m_localTransformDirty = false;

+ 1 - 1
AnKi/Scene/SceneNode.h

@@ -382,7 +382,7 @@ public:
 		return m_transformUpdatedThisFrame;
 		return m_transformUpdatedThisFrame;
 	}
 	}
 
 
-	ANKI_INTERNAL Bool updateTransform(StackMemoryPool& framePool);
+	ANKI_INTERNAL Bool updateTransform();
 
 
 	/// Create and append a component to the components container. The SceneNode has the ownership.
 	/// Create and append a component to the components container. The SceneNode has the ownership.
 	template<typename TComponent>
 	template<typename TComponent>