Changeset 523 for trunk/src/engine/model_manager.cc
- Timestamp:
- 10/17/16 23:19:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/engine/model_manager.cc
r516 r523 57 57 58 58 if ( table.is_string( "material" ) ) 59 cmaterial = m_rm->get< material >( table.get_string128( "material" ) ); 59 { 60 nv::string128 mat_id( table.get_string128( "material" ) ); 61 cmaterial = m_rm->get< material >( mat_id ); 62 if ( !cmaterial ) 63 NV_LOG_ERROR( "Can't load material : ", mat_id ); 64 } 60 65 61 66 if ( table.is_string( "tag" ) )
Note: See TracChangeset
for help on using the changeset viewer.