Hi Judson.

On 10 June 2013 16:27, Judson Weissert <jud...@mfrac.com> wrote:
> First pass, result status is FILE_NOT_HANDLED message is "Warning: Write to
> "path" not supported."
> Second pass, result status is ERROR_IN_WRITING_FILE message is "Warning:
> Could not find plugin to write nodes to file "path."
> The file is not written out in either case, because I was specifically
> interested in testing the non-successful code paths.
>
> The reason for the difference is based on whether or not the plugin DLL has
> been loaded or not.

Without having some exact code in front of me that reproduces this
difference I can't speculate on the exactly cause or what if anything
is appropriate to do about it. For now I'm going to put this asside as
a low priority issue.


>
> It still seems like an attempt to load DLLs would be made for unregistered
> file extensions (maybe?). Perhaps I did not see an ifdef or condition for
> the static libary case. However, calling Registry::setLibraryFilePathList()
> manually might work for my case.

Explicitly loading plugins with a specific application defined path
and and disabling the loading of new plugins thereafter might be
another route. The could be done via a custom FindFileCallback that
return std::string("") when you decide then nothing else should be
loaded.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to