Update of /cvsroot/plib/plib/src/ssg
In directory usw-pr-cvs1:/tmp/cvs-serv13940
Modified Files:
ssgSaveVRML1.cxx
Log Message:
Use "ulSetError" instead of "printf"
Index: ssgSaveVRML1.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/ssg/ssgSaveVRML1.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ssgSaveVRML1.cxx 17 Jan 2002 16:14:23 -0000 1.1
+++ ssgSaveVRML1.cxx 8 Jun 2002 22:23:39 -0000 1.2
@@ -308,7 +308,8 @@
if ( (index1 < 0)||(index2 < 0)||(index3 < 0) )
{
- printf("Save error: index overflow, value won't fit in 16bits.\n");
+ ulSetError(UL_WARNING, "ssgSaveVRML1: Save error: index overflow, "
+ "value won't fit in 16bits.");
}
else
{
@@ -418,8 +419,8 @@
if ( (index1 < 0)||(index2 < 0)||(index3 < 0) )
{
- printf("Save error: index overflow, value "
- "won't fit in 16bits.\n");
+ ulSetError(UL_WARNING, "ssgSaveVRML1: Save error: index "
+ "overflow, value won't fit in 16bits.");
}
else
{
|