Changeset 540 for trunk/src/engine/animation.cc
- Timestamp:
- 01/25/17 20:20:45 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/engine/animation.cc
r539 r540 27 27 nv::resource< animator_data > nv::animator_manager::load_animator( nv::lua::table_guard& table, nv::shash64 id, nv::pose_data_set* poses /*= nullptr */ ) 28 28 { 29 uint32 count = table. get_size();29 uint32 count = table.size(); 30 30 if ( count == 0 ) 31 31 { … … 73 73 { 74 74 nv::lua::table_guard states_table( layer_table, "states" ); 75 uint32 state_count = states_table. get_size();75 uint32 state_count = states_table.size(); 76 76 if ( state_count > 0 ) 77 77 { … … 119 119 { 120 120 nv::lua::table_guard transitions_table( state_table, "transitions" ); 121 uint32 transition_count = transitions_table. get_size();121 uint32 transition_count = transitions_table.size(); 122 122 if ( transition_count > 0 ) 123 123 { … … 167 167 result.in = table["ease_in"].get_enum( result.in ); 168 168 result.out = table["ease_out"].get_enum( nv::easing_type::NONE ); 169 if ( table .has_field( "ease_in_out" ))169 if ( table[ "ease_in_out" ] ) 170 170 { 171 171 result.in = result.out = table["ease_in_out"].get_enum( nv::easing_type::NONE );
Note: See TracChangeset
for help on using the changeset viewer.