Ignore:
Timestamp:
07/26/16 20:24:02 (9 years ago)
Author:
epyon
Message:
  • random distributions
  • resource - rename/remove support
  • debug gizmo support
  • minor resource_manager upgrades
  • several minor changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine/material_manager.cc

    r508 r509  
    6363        if ( table.is_string( "path" ) )
    6464        {
     65                m->id = table.get_string128( "id" );
    6566                string128 path = table.get_string128( "path" );
    6667                for ( uint32 i = 0; i < 5; ++i )
     
    7778                                if ( i != TEX_EMISSIVE )
    7879                                        NV_LOG_ERROR( "Texture file not found! : ", m->paths[i] );
    79                                 //m->paths[i].clear();
     80                                if ( m_clear_paths )
     81                                        m->paths[i].clear();
    8082                        }
    8183                }
Note: See TracChangeset for help on using the changeset viewer.