Gerrit Voss wrote: > Hi, > > On Wed, 2007-03-07 at 18:27 -0600, [EMAIL PROTECTED] wrote: > >> Author: allenb >> Date: Wed Mar 7 18:27:33 2007 >> New Revision: 577 >> Trac changeset: http://opensg.vrsource.org/trac/changeset/577 >> ViewVC: http://realityforge.vrsource.org/viewvc/opensg?view=rev&revision=577 >> >> Modified: >> trunk/Source/System/FieldContainer/Base/OSGFieldContainerPtr.h >> trunk/Source/System/FieldContainer/Base/OSGFieldContainerPtr.inl >> Log: >> - Add getId method so uses can find the fc id from a fc ptr. >> > > what was wrong with the OSG::getContainerId(cntPtr) method (except you > probably did not find it) ?. > Correct. Dirk and I both looked for a method for quite a while and didn't find it. I guess we should have looked harder.
I have backed out the commit and changed the code to use the interface you suggested. Thanks, Allen > Anyway this one is a bad idea because it breaks your code if you switch > to the plain c-ptr implementation. > > So, at least, please do not use it inside OpenSG. > > regards, > gerrit > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
