Skip to content
Snippets Groups Projects
Commit a6df733d authored by Lukas Werner's avatar Lukas Werner
Browse files

Don't render remote bodies

parent 8aa33be2
No related merge requests found
......@@ -579,6 +579,9 @@ BodyID HashGrids::HashGrid::getBodyIntersectionForBlockCell(const Vector3<int32_
if (nbBodies != NULL) {
for (const BodyID& cellBody: *nbBodies) {
if (cellBody->isRemote()) {
continue;
}
if (!isBodyVisibleFunc(cellBody)) {
continue;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment