History

hook tree stat calculation to menu

Stephen Birarda committed 13 years ago

Commit 474b0461 parent eb4508a4 files · +13 −12Browse files

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

Unified · Split

interface/src/Application.cpp+1−5
@@ -530,7 +530,7 @@ void Application::keyPressEvent(QKeyEvent* event) { · 529 unmodified lines
530 530
531 case Qt::Key_S:531 case Qt::Key_S:
532 if (isShifted) {532 if (isShifted) {
533 doTreeStats();533 _voxels.collectStatsForTreesAndVBOs();
534 } else {534 } else {
535 _myAvatar.setDriveKeys(BACK, 1);535 _myAvatar.setDriveKeys(BACK, 1);
536 }536 }
@@ -1161,10 +1161,6 @@ void Application::doTrueVoxelColors() { · 624 unmodified lines
1161 _voxels.trueColorize();1161 _voxels.trueColorize();
1162}1162}
1163 1163
1164void Application::doTreeStats() {
1165 _voxels.collectStatsForTreesAndVBOs();
1166}
1167
1168void Application::disableLowResMoving(bool disableLowResMoving) {1164void Application::disableLowResMoving(bool disableLowResMoving) {
1169 _myAvatar.setWantLowResMoving(!disableLowResMoving);1165 _myAvatar.setWantLowResMoving(!disableLowResMoving);
1170}1166}

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