Revision: 7284 http://playerstage.svn.sourceforge.net/playerstage/?rev=7284&view=rev Author: alexcb Date: 2009-01-22 01:00:21 +0000 (Thu, 22 Jan 2009)
Log Message: ----------- fixed fiducial bug - old items were left in memory when they are no longer visible Modified Paths: -------------- code/stage/trunk/libstage/model_fiducial.cc Modified: code/stage/trunk/libstage/model_fiducial.cc =================================================================== --- code/stage/trunk/libstage/model_fiducial.cc 2009-01-21 23:57:00 UTC (rev 7283) +++ code/stage/trunk/libstage/model_fiducial.cc 2009-01-22 01:00:21 UTC (rev 7284) @@ -11,7 +11,7 @@ // /////////////////////////////////////////////////////////////////////////// -//#define DEBUG 1 +#define DEBUG 1 #include <assert.h> #include <math.h> @@ -235,6 +235,8 @@ this ); PRINT_DEBUG2( "model %s saw %d fiducials", token, data->len ); + fiducials = (stg_fiducial_t*)data->data; + fiducial_count = data->len; } void ModelFiducial::Load( void ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit