yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02431
[Branch ~yade-dev/yade/trunk] Rev 1833: 1. Fix Sega's and Anton's bug which was introduced in r1820 (keeping return from older version, i...
------------------------------------------------------------
revno: 1833
committer: Václav Šmilauer <eudoxos@xxxxxxxx>
branch nick: trunk
timestamp: Tue 2009-12-01 14:11:47 +0100
message:
1. Fix Sega's and Anton's bug which was introduced in r1820 (keeping return from older version, instead of continue :-| )
Sorry guys again. I ahve to say it took me really long to find. Plus, this was the first time that the yade-trunk-py worked better than c++ main :-))
modified:
core/Omega.cpp
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'core/Omega.cpp'
--- core/Omega.cpp 2009-11-29 11:03:25 +0000
+++ core/Omega.cpp 2009-12-01 13:11:47 +0000
@@ -184,7 +184,7 @@
void Omega::scanPlugins(vector<string> baseDirs){
// silently skip non-existent plugin directories
FOREACH(const string& baseDir, baseDirs){
- if(!filesystem::exists(baseDir)) return;
+ if(!filesystem::exists(baseDir)) continue;
try{
filesystem::recursive_directory_iterator Iend;
for(filesystem::recursive_directory_iterator I(baseDir); I!=Iend; ++I){