|
From: Markus R. <rol...@us...> - 2007-06-11 17:27:08
|
Update of /cvsroot/simspark/simspark/spark/zeitgeist In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv12259 Modified Files: Tag: ROSIMPORTER_XLAB leaf.h Log Message: - fix the recursive case for FindChildSupportingClass() Index: leaf.h =================================================================== RCS file: /cvsroot/simspark/simspark/spark/zeitgeist/leaf.h,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** leaf.h 17 May 2007 17:46:45 -0000 1.3 --- leaf.h 11 Jun 2007 17:27:05 -0000 1.3.2.1 *************** *** 130,134 **** if (recursive) { ! return (*i)->FindChildSupportingClass<CLASS>(recursive); } } --- 130,138 ---- if (recursive) { ! child = (*i)->FindChildSupportingClass<CLASS>(recursive); ! if (child.get() != 0) ! { ! return child; ! } } } |