Hello Gerrit,

On 03/28/2011 04:27 AM, Gerrit Voss wrote:
> - Log -----------------------------------------------------------------
> commitdiff: 
> http://opensg.git.sourceforge.net/git/gitweb.cgi?p=opensg/opensg;a=commitdiff;h=65ad7349c4fe28912f483798536a38842213deab
> commit 65ad7349c4fe28912f483798536a38842213deab
> Author: Gerrit Voss<[email protected]>
> Date:   Mon Mar 28 17:24:37 2011 +0800
>
>      fixed: vrml inline reading
>           : allow to switch of file not found warning so app can handle it 
> (sfh)
>           : add wrz for gzip wrl files to be handled by vrml loader

  virtual NodeTransitPtr read(const  Char8       *fileName,
+                                   bool         bWarnNotFound = true,
                                     GraphOpSeq  *graphOpSeq =
                                            _defaultgraphOpSeq,
                                      Resolver     resolver   = NULL);

I'm moving the new parameter to the end. Since pointer auto convert to 
boolean this silently converts a GraphOpSeq* to bool and does not run 
any GraphOps ;(
I.e. this:

SceneFileHandler::the()->read(fileName.c_str(), myGraphOps);

compiles, but does not do what it used to do...

        Cheers,
                Carsten

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to