Changeset 3359
- Timestamp:
- 02/02/10 12:57:25 (7 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/ZBullet/src/PhysicsMaterial.cpp
r3339 r3359 38 38 { 39 39 m_pNewtonZone = dynamic_cast<PhysicsZone*>(m_pZone.get())->getZonePtr(); 40 m_defaultGroupID = NULL;40 m_defaultGroupID = 0; 41 41 42 42 if (_default) … … 46 46 else 47 47 { 48 m_id = ZBulletMaterialCreateGroupID(m_pNewtonZone);48 m_id = m_pZone->getAllMaterials().size(); 49 49 } 50 50
