diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-21 09:42:51 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-21 09:42:51 (GMT) |
commit | 169a827107fba88442113240528f7e39c648a982 (patch) | |
tree | 887f37173c3e1cbd5e429d20f6a3a3960012f107 /apps | |
parent | 1cbed86a4e1db28b13817fe6d3a6143d482b736d (diff) | |
download | uscxml-169a827107fba88442113240528f7e39c648a982.zip uscxml-169a827107fba88442113240528f7e39c648a982.tar.gz uscxml-169a827107fba88442113240528f7e39c648a982.tar.bz2 |
Fixed an embarrassing bug in uscxml-browser
Diffstat (limited to 'apps')
-rw-r--r-- | apps/samples/put-that-there/put-that-there.scxml | 2 | ||||
-rw-r--r-- | apps/uscxml-browser.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/samples/put-that-there/put-that-there.scxml b/apps/samples/put-that-there/put-that-there.scxml index fee9f39..b608972 100644 --- a/apps/samples/put-that-there/put-that-there.scxml +++ b/apps/samples/put-that-there/put-that-there.scxml @@ -13,7 +13,7 @@ <scenegraph:box x="1" y="2" z="3" color="red" /> </scenegraph:translation> <scenegraph:translation x="0" y="5" z="0"> - <scenegraph:capsule radius="1" height="2" materialcolor="blue" transparency="0.5"/> + <scenegraph:capsule radius="1" height="2" materialcolor="blue"/> </scenegraph:translation> <scenegraph:translation x="0" y="0" z="5"> <scenegraph:cone radius="1" height="2" color="lightblue" /> diff --git a/apps/uscxml-browser.cpp b/apps/uscxml-browser.cpp index 3cb1138..bba1bc0 100644 --- a/apps/uscxml-browser.cpp +++ b/apps/uscxml-browser.cpp @@ -185,7 +185,7 @@ int main(int argc, char** argv) { interpreterIter = interpreters.begin(); while(interpreterIter != interpreters.end()) { stillRunning = interpreterIter->runOnMainThread(25); - if (stillRunning) { + if (!stillRunning) { interpreters.erase(interpreterIter++); } else { interpreterIter++; |