mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:37:17 +02:00
Use isColored, not getShouldRender.
This commit is contained in:
parent
e6e5b20dee
commit
501aac39da
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ bool findRayOperation(VoxelNode* node, void* extraData) {
|
||||||
return true; // recurse on children
|
return true; // recurse on children
|
||||||
}
|
}
|
||||||
distance *= TREE_SCALE;
|
distance *= TREE_SCALE;
|
||||||
if (node->getShouldRender() && (!args->found || distance < args->distance)) {
|
if (node->isColored() && (!args->found || distance < args->distance)) {
|
||||||
args->node = node;
|
args->node = node;
|
||||||
args->distance = distance;
|
args->distance = distance;
|
||||||
args->face = face;
|
args->face = face;
|
||||||
|
|
Loading…
Reference in a new issue