More crying

This commit is contained in:
mcrcortex
2025-01-28 06:18:06 +10:00
parent 4d6859db43
commit b6289a901c
3 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ void main() {
}
UnpackedNode node;
unpackNode(node, gl_GlobalInvocationID.x);
if (isEmptyMesh(node) || !hasMesh(node)) {
if (isEmptyMesh(node) || (!hasMesh(node)) || (!hasChildren(node))) {
return;
}
bubbleSort(0, gl_GlobalInvocationID.x, vis);