Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 6 files). Show all
Unified · Split
| @@ -188,7 +188,7 @@ int MetavoxelSystem::SimulateVisitor::visit(MetavoxelInfo& info) { · 187 unmodified lines | |||
| 188 | QRgb color = info.inputValues.at(0).getInlineValue<QRgb>(); | 188 | QRgb color = info.inputValues.at(0).getInlineValue<QRgb>(); |
| 189 | QRgb normal = info.inputValues.at(1).getInlineValue<QRgb>(); | 189 | QRgb normal = info.inputValues.at(1).getInlineValue<QRgb>(); |
| 190 | quint8 alpha = qAlpha(color); | 190 | quint8 alpha = qAlpha(color); |
| 191 | if (info.inputValues.at(4).getAttribute()) { | 191 | if (!info.isLODLeaf) { |
| 192 | if (alpha > 0) { | 192 | if (alpha > 0) { |
| 193 | Point point = { glm::vec4(info.minimum + glm::vec3(info.size, info.size, info.size) * 0.5f, info.size), | 193 | Point point = { glm::vec4(info.minimum + glm::vec3(info.size, info.size, info.size) * 0.5f, info.size), |
| 194 | { quint8(qRed(color)), quint8(qGreen(color)), quint8(qBlue(color)), alpha }, | 194 | { quint8(qRed(color)), quint8(qGreen(color)), quint8(qBlue(color)), alpha }, |