Changeset 526 for trunk/src/engine


Ignore:
Timestamp:
10/29/16 01:35:14 (9 years ago)
Author:
epyon
Message:
  • physics level mesh implementation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine/model_manager.cc

    r524 r526  
    3838                else
    3939                        gm->bind_data = m_animator_binds->add( id, new animator_bind_data( poses->get_tree(), *def_data.lock()->node_data ) );
     40        }
     41
     42        if ( table.has_field( "phx_mesh" ) )
     43        {
     44                nv::string128 cpath( table.get_string128( "phx_mesh" ) );
     45                gm->phx_mesh = m_mesh_datas->get_path( cpath, def_data );
    4046        }
    4147
Note: See TracChangeset for help on using the changeset viewer.