Fix usage of validation

This commit is contained in:
Kim Kulling
2022-06-08 00:10:13 +02:00
committed by GitHub
parent 4fb5cf4ba6
commit 02b0c89fa4
+1 -1
View File
@@ -908,7 +908,7 @@ Ref<Node> FindSkeletonRootJoint(Ref<Skin> &skinRef) {
do {
startNodeRef = parentNodeRef;
parentNodeRef = startNodeRef->parent;
} while (nullptr != parentNodeRef && !parentNodeRef->jointName.empty());
} while (parentNodeRef && !parentNodeRef->jointName.empty());
return parentNodeRef;
}