]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
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 7f269faa009b1a23063041ad7e2cf166014c9d8a..6125df25bcd63eca1c38a3e07a07015472871582 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);
                        }