Hi Gustav,

Thanks for your changes, I'm merged and ammended these and have now
checked in the results into svn/trunk.   The changes I made were:

          changed command line parameter to --enable-object-cache

          changed set/get methods in osgDB::Output and
          ive/DataOutputStream.cpp to be s/getExternalFileWritten(const
          std::string&)

          cleaned up set up of osgDB::Options.


Note that I change the string parameters to const string& as passing
strings around can be very expensive as most std::string
implementations share the data pointer, and this in turn means it'll
be using a mutex lock on that data when copying it so passing a const
reference is far more preferable.

Could you please test these changes out,

Thanks,
Robert.

On Mon, Jun 8, 2009 at 11:41 AM, Gustav Haapalahti<[email protected]> wrote:
> Hi,
>
> This is a continuation to my previous submission.
> I noticed that the same problem that I fixed in ProxyNode.cpp for the osg 
> plugin (external files being written over and over again) also existed in the 
> ive plugin. I attached a submission where the ive plugin remembers which 
> external files that have already been written and do not write them again.
>
> Thank you!
>
> Cheers,
> Gustav
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=13684#13684
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to