misc_model _skin/skin key: handle both DP and Q3 naming conventions
disable trying skin 0 by default not that it does much atm, as assimp md3 loader handles .skin and shader name substitution alters non path names handle \r\n endlines in .skin
This commit is contained in:
@@ -2811,7 +2811,7 @@ static int AddSurfaceModelsToTriangle_r( mapDrawSurface_t *ds, const surfaceMode
|
||||
}
|
||||
|
||||
/* insert the model */
|
||||
InsertModel( model.model.c_str(), 0, 0, transform, NULL, ds->celShader, entity, ds->castShadows, ds->recvShadows, 0, ds->lightmapScale, 0, 0, clipDepthGlobal );
|
||||
InsertModel( model.model.c_str(), NULL, 0, transform, NULL, ds->celShader, entity, ds->castShadows, ds->recvShadows, 0, ds->lightmapScale, 0, 0, clipDepthGlobal );
|
||||
|
||||
/* return to sender */
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user