mirror of
https://github.com/overte-org/overte.git
synced 2025-08-14 01:29:55 +02:00
dead code cleanup
This commit is contained in:
parent
2cee643e7c
commit
146334e4d7
1 changed files with 1 additions and 4 deletions
|
@ -123,7 +123,6 @@ void VoxelNode::setColorFromAverageOfChildren() {
|
|||
colorArray[3]++;
|
||||
}
|
||||
}
|
||||
|
||||
nodeColor newColor = { 0, 0, 0, 0};
|
||||
if (colorArray[3] > 4) {
|
||||
// we need at least 4 colored children to have an average color value
|
||||
|
@ -179,9 +178,7 @@ void VoxelNode::setColor(const nodeColor& color) {
|
|||
if (!_falseColored) {
|
||||
memcpy(&_currentColor,&color,sizeof(nodeColor));
|
||||
}
|
||||
//if (_shouldRender) {
|
||||
_isDirty = true;
|
||||
//}
|
||||
_isDirty = true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue