mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 11:16:29 +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
|
||||
}
|
||||
distance *= TREE_SCALE;
|
||||
if (node->getShouldRender() && (!args->found || distance < args->distance)) {
|
||||
if (node->isColored() && (!args->found || distance < args->distance)) {
|
||||
args->node = node;
|
||||
args->distance = distance;
|
||||
args->face = face;
|
||||
|
|
Loading…
Reference in a new issue