Skip to content

Commit 38d063a

Browse files
committed
Ignore parent matrix setting in getConcatenatedMatrix
1 parent 8654b57 commit 38d063a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Contents/Source/PolyEntity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ Matrix4 Entity::getConcatenatedMatrix() {
729729
rebuildTransformMatrix();
730730
}
731731

732-
if(parentEntity != NULL)
732+
if(parentEntity != NULL && !ignoreParentMatrix)
733733
return transformMatrix * parentEntity->getConcatenatedMatrix();
734734
else
735735
return transformMatrix;

0 commit comments

Comments
 (0)