turn two picomodel errors into warnings
authorRudolf Polzer <divverent@alientrap.org>
Tue, 12 Apr 2011 18:40:19 +0000 (20:40 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 12 Apr 2011 18:40:19 +0000 (20:40 +0200)
libs/picomodel/pm_obj.c

index 7f269fa..6125df2 100644 (file)
@@ -694,7 +694,7 @@ static picoModel_t *_obj_load( PM_PARAMS_LOAD )
 
                        if(curSurface == NULL)
                        {
-                               _pico_printf( PICO_ERROR,"No group defined for faces, so creating an autoSurface in OBJ, line %d.",p->curLine);
+                               _pico_printf( PICO_WARNING,"No group defined for faces, so creating an autoSurface in OBJ, line %d.",p->curLine);
                                AUTO_GROUPNAME(autoGroupNameBuf);
                                NEW_SURFACE(autoGroupNameBuf);
                        }
@@ -869,7 +869,7 @@ static picoModel_t *_obj_load( PM_PARAMS_LOAD )
 
                        if(curFace != 0 || curSurface == NULL)
                        {
-                               _pico_printf( PICO_ERROR,"No group defined for usemtl, so creating an autoSurface in OBJ, line %d.",p->curLine);
+                               _pico_printf( PICO_WARNING,"No group defined for usemtl, so creating an autoSurface in OBJ, line %d.",p->curLine);
                                AUTO_GROUPNAME(autoGroupNameBuf);
                                NEW_SURFACE(autoGroupNameBuf);
                        }