[rkward-cvs] SF.net SVN: rkward:[2747] trunk/rkward/rkward/plugin/rkcomponent.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Feb 21 11:27:22 UTC 2010


Revision: 2747
          http://rkward.svn.sourceforge.net/rkward/?rev=2747&view=rev
Author:   tfry
Date:     2010-02-21 11:27:22 +0000 (Sun, 21 Feb 2010)

Log Message:
-----------
For non-required components, children do not need to be statisfied, either.

Modified Paths:
--------------
    trunk/rkward/rkward/plugin/rkcomponent.cpp

Modified: trunk/rkward/rkward/plugin/rkcomponent.cpp
===================================================================
--- trunk/rkward/rkward/plugin/rkcomponent.cpp	2010-02-19 18:27:37 UTC (rev 2746)
+++ trunk/rkward/rkward/plugin/rkcomponent.cpp	2010-02-21 11:27:22 UTC (rev 2747)
@@ -164,6 +164,7 @@
 		else if (s != Satisfied) children_satisfied = false;
 	}
 	if (processing) return Processing;
+	if (!required) return Satisfied;
 	if (children_satisfied && isSatisfied ()) return Satisfied;
 	return Unsatisfied;
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list