From: Rudolf Polzer Date: Tue, 12 Apr 2011 18:40:19 +0000 (+0200) Subject: turn two picomodel errors into warnings X-Git-Tag: xonotic-v0.5.0~37 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d9f3f840b7ac4647cd84f0a2528177618e0b01b7;p=xonotic%2Fnetradiant.git turn two picomodel errors into warnings --- diff --git a/libs/picomodel/pm_obj.c b/libs/picomodel/pm_obj.c index 7f269faa..6125df25 100644 --- a/libs/picomodel/pm_obj.c +++ b/libs/picomodel/pm_obj.c @@ -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); }