History

Finally at the point of actually getting spanners to turn into voxels.

Andrzej Kapolka committed 12 years ago

Commit 176d8f71 parent 78896d66 files · +153 −55Browse files

Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 6 files). Show all

Unified · Split

interface/src/MetavoxelSystem.cpp+1−1
@@ -188,7 +188,7 @@ int MetavoxelSystem::SimulateVisitor::visit(MetavoxelInfo& info) { · 187 unmodified lines
188188 QRgb color = info.inputValues.at(0).getInlineValue<QRgb>();
189189 QRgb normal = info.inputValues.at(1).getInlineValue<QRgb>();
190190 quint8 alpha = qAlpha(color);
191− if (info.inputValues.at(4).getAttribute()) {
191+ if (!info.isLODLeaf) {
192192 if (alpha > 0) {
193193 Point point = { glm::vec4(info.minimum + glm::vec3(info.size, info.size, info.size) * 0.5f, info.size),
194194 { quint8(qRed(color)), quint8(qGreen(color)), quint8(qBlue(color)), alpha },

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t