Ignore:
Timestamp:
01/25/17 20:20:45 (8 years ago)
Author:
epyon
Message:
  • lua::stack_proxy RTTI read support
  • missing RTTI declarations
  • new lua::table_guard syntax
File:
1 edited

Legend:

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

    r539 r540  
    7575                float radius = table["radius"].get_f32();
    7676                float length = 0.0f;
    77                 if ( table.has_field( "target" ) )
     77                if ( table[ "target" ] )
    7878                {
    7979                        const auto& of = bind_data->get_bone_transforms().m_offsets;
     
    9797                        part.limits     = table["limits"].as< vec3 >();
    9898                }
    99                 uint32 child_count = table.get_size();
     99                uint32 child_count = table.size();
    100100                bool   result = true;
    101101                if ( child_count > 0 )
Note: See TracChangeset for help on using the changeset viewer.