Ignore:
Timestamp:
07/16/15 19:24:30 (10 years ago)
Author:
epyon
Message:
  • removal of several strings, string hashes used
  • WIP some data lost - see explicit warnings
  • name_hash to name
  • more nmd updates
  • animation names as hashes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/formats/md3_loader.cc

    r420 r423  
    426426
    427427                nodes[i].transform = mat4();
    428                 nodes[i].name_hash = hash_string< uint64 >( name.data() );
     428                nodes[i].name = hash_string< uint64 >( name.data() );
    429429                nodes[i].parent_id = -1;
    430430                nodes[i].data      = data_channel_set_creator::create( 1 );
    431431                load_tags( data_channel_set_creator( nodes[i].data ).add_channel<md3_key>( uint32( md3->header.num_frames ) ).channel(), name );
    432432        }
    433         return new mesh_nodes_data( "tags", node_count, nodes );
     433        int name_;
     434        return new mesh_nodes_data( 0,/*"tags"*/ node_count, nodes );
    434435}
    435436
Note: See TracChangeset for help on using the changeset viewer.