History

Better experimentation

Sam Gateau committed 8 years ago

Commit 9c4c1bf1 parent 6a7ae555 files · +83 −204Browse files

Showing the changes to scripts/developer/utilities/workload/workload.js (1 of 5 files). Show all

Unified · Split

scripts/developer/utilities/workload/workload.js+8−1
@@ -87,19 +87,26 @@ · 86 unmodified lines
8787 switch (message.method) {
8888 case "createScene":
8989 createScene();
90+ sendToQml({method: "objectCount", params: { v: getNumObjects() }})
9091 break;
9192 case "clearScene":
9293 clearScene();
94+ sendToQml({method: "objectCount", params: { v: getNumObjects() }})
9395 break;
9496 case "changeResolution":
9597 changeResolution(message.params.count);
98+ sendToQml({method: "objectCount", params: { v: getNumObjects() }})
99+ break;
100+ case "bumpUpFloor":
101+ bumpUpFloor();
96102 break;
97103 }
98104
99105 }
100106
107+ sendToQml({method: "objectCount", params: { v: getNumObjects() }})
108+
101109 function sendToQml(message) {
102110 tablet.sendToQml(message);
103111 }
104−
105112 }());

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