Changeset 3359

Show
Ignore:
Timestamp:
02/02/10 12:57:25 (7 months ago)
Author:
Azaezel
Message:

material id assignment

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/ZBullet/src/PhysicsMaterial.cpp

    r3339 r3359  
    3838{ 
    3939    m_pNewtonZone = dynamic_cast<PhysicsZone*>(m_pZone.get())->getZonePtr(); 
    40     m_defaultGroupID = NULL; 
     40    m_defaultGroupID = 0; 
    4141 
    4242    if (_default) 
     
    4646    else 
    4747    { 
    48         m_id = ZBulletMaterialCreateGroupID(m_pNewtonZone); 
     48        m_id = m_pZone->getAllMaterials().size(); 
    4949    } 
    5050