Skip to content

Commit 9a824b4

Browse files
author
Benjamin Glatzel
committed
Fix: Bricked scaling behavior
1 parent 9330001 commit 9a824b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IntrinsicCore/src/IntrinsicCoreComponentsNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void NodeManager::updateTransforms(const NodeRefArray& p_Nodes)
9999
glm::mat4 scale =
100100
glm::scale(glm::mat4(1.0f), NodeManager::_worldSize(nodeRef));
101101

102-
_worldMatrix(nodeRef) = trans * scale * rot;
102+
_worldMatrix(nodeRef) = trans * rot * scale;
103103
_inverseWorldMatrix(nodeRef) = glm::inverse(_worldMatrix(nodeRef));
104104

105105
// Update AABB

0 commit comments

Comments
 (0)