- Timestamp:
- 07/09/15 19:19:26 (10 years ago)
- Location:
- trunk/nv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/gfx/animation.hh
r413 r414 29 29 NV_ASSERT( channel, "nullptr passed to add_channel!" ); 30 30 m_channels.push_back( channel ); 31 m_final_key.append( channel->descriptor() ); 31 for ( const auto& cslot : channel->descriptor() ) 32 if ( cslot.vslot != slot::TIME ) 33 m_final_key.push_slot( cslot.etype, cslot.vslot ); 34 //m_final_key.append( channel->descriptor() ); 32 35 } 33 36 -
trunk/nv/interface/data_descriptor.hh
r413 r414 272 272 } 273 273 274 void push_slot( datatype etype, slot vslot ) 275 { 276 m_slots[m_count].etype = etype; 277 m_slots[m_count].offset = m_size; 278 m_slots[m_count].vslot = vslot; 279 m_size += get_datatype_info( etype ).size; 280 m_count++; 281 } 282 274 283 void append( const data_descriptor& desc ) 275 284 {
Note: See TracChangeset
for help on using the changeset viewer.