Changeset 252 for trunk/src/gfx/skeletal_mesh.cc
- Timestamp:
- 06/12/14 12:08:33 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/skeletal_mesh.cc
r241 r252 58 58 void nv::skeletal_mesh::run_animation( animation_entry* a_anim ) 59 59 { 60 skeletal_animation_entry * anim = down_cast<skeletal_animation_entry>(a_anim); 61 setup_animation( anim->m_animation ); 60 if ( a_anim != nullptr ) 61 { 62 skeletal_animation_entry * anim = down_cast<skeletal_animation_entry>(a_anim); 63 setup_animation( anim->m_animation ); 64 } 65 else 66 { 67 setup_animation( nullptr ); 68 } 62 69 }
Note: See TracChangeset
for help on using the changeset viewer.