Revision: 7235
http://playerstage.svn.sourceforge.net/playerstage/?rev=7235&view=rev
Author: thjc
Date: 2009-01-04 01:45:19 +0000 (Sun, 04 Jan 2009)
Log Message:
-----------
applied patch 2234440 - makes blobfinder ignore colour alpha value
Modified Paths:
--------------
code/stage/branches/release-2-1-patches/src/model_blobfinder.c
Modified: code/stage/branches/release-2-1-patches/src/model_blobfinder.c
===================================================================
--- code/stage/branches/release-2-1-patches/src/model_blobfinder.c
2009-01-04 01:41:03 UTC (rev 7234)
+++ code/stage/branches/release-2-1-patches/src/model_blobfinder.c
2009-01-04 01:45:19 UTC (rev 7235)
@@ -335,7 +335,7 @@
//PRINT_DEBUG3( "looking up %X - channel %d is %X",
// col, c, cfg->channels[c] );
- if( cfg->channels[c] == col)
+ if( (cfg->channels[c] & 0x00ffffff) == (col & 0x00ffffff))
{
//printf("color %0X is channel %d\n", col, c);
@@ -413,7 +413,7 @@
memset( &blob, 0, sizeof(blob) );
blob.channel = blobcol-1;
- blob.color = cfg->channels[ blob.channel];
+ blob.color = cfg->channels[ blob.channel] & 0x00ffffff;
blob.xpos = xCenterOfBlob;
blob.ypos = yCenterOfBlob;
blob.left = blobleft;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit