Excellent! Thanks for the quick response and fix.
~Matt Stone
Dirk Reiners - [EMAIL PROTECTED] wrote:
On Tue, 2004-02-24 at 13:13, [EMAIL PROTECTED] wrote:
I tried to implement the log_buffer callback handler as suggested earlier last
week to handle error conditions in a VRML file load, but I can't seem to get
the error to show up in the buffer. I believe the error goes straight to
stderr.
A sample of the error in question that I would like to trap shows up in the
console output:
-----> syntax error in Line 31
Is there a way to trap errors such as this during file loading?
OK, you caught a bug. That was a leftover that we forgot to fix. I
changed and committed it.
If you want to do it in your version, you have to replace the fprintfs
in OSGScanParseSkel.lpp and OSGScanParseSkel.y in
Source/System/FileIO/ScanParseSkel with FWARNINGs and add #include
<OSGLog.h> at the beginning of both files.
Hope it helps
Dirk
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users