Fresco/Berlin/src GraphDebugger.cc,1.2,1.3

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin/src
In directory purcel:/tmp/cvs-serv10313/Berlin/src

Modified Files:
	GraphDebugger.cc 
Log Message:
* Remove implementation pointer from test of Graphic identity. Several Graphics
  may share one implementation.
* use _is_equivalent instead of is_identical: The latter does produce some
  strange output.


Index: GraphDebugger.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/src/GraphDebugger.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- GraphDebugger.cc	4 Mar 2003 00:23:47 -0000	1.2
+++ GraphDebugger.cc	7 Mar 2003 15:52:29 -0000	1.3
@@ -176,8 +176,7 @@
 	 i != my_known_graphics.end();
 	 ++i)
 	if (hash == i->hash &&
-	    (p == i->impl ||
-	     g->is_identical(i->graphic)))
+	    g->_is_equivalent(i->graphic))
 		return *i; // we allready know this one
 
     // the graphic is unknown: register it and return a reference to it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.