Changeset 431 for trunk/src/formats
- Timestamp:
- 07/21/15 13:31:23 (10 years ago)
- Location:
- trunk/src/formats
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/formats/assimp_loader.cc
r428 r431 288 288 const aiScene* scene = reinterpret_cast<const aiScene*>( m_scene ); 289 289 mesh_nodes_data* result = new mesh_nodes_data( make_name( "bones" ) ); 290 unordered_map< uint64, uint16 > names;290 hashed_table< shash64, uint16 > names; 291 291 for ( unsigned int m = 0; m < m_mesh_count; ++m ) 292 292 { -
trunk/src/formats/md3_loader.cc
r427 r431 420 420 uint32 node_count = uint32( md3->header.num_tags ); 421 421 if ( node_count == 0 ) return nullptr; 422 mesh_nodes_data* result = new mesh_nodes_data( m_strings ? m_strings->insert( "tags" ) : 0);422 mesh_nodes_data* result = new mesh_nodes_data( m_strings ? m_strings->insert( "tags" ) : shash64() ); 423 423 for ( uint32 i = 0; i < node_count; ++i ) 424 424 { -
trunk/src/formats/nmd_loader.cc
r428 r431 233 233 sheader.children = 0; 234 234 sheader.size = strings.dump_size(); 235 sheader.name = 0;235 sheader.name = shash64(); 236 236 sheader.parent_id = -1; 237 237 sheader.attributes = 0;
Note: See TracChangeset
for help on using the changeset viewer.