diff --git a/rcbasic_runtime/rc_gfx_core.h b/rcbasic_runtime/rc_gfx_core.h index 1f21706..0664197 100644 --- a/rcbasic_runtime/rc_gfx_core.h +++ b/rcbasic_runtime/rc_gfx_core.h @@ -681,7 +681,10 @@ void myTickCallback2(btSoftRigidDynamicsWorld* dynamicsWorld, btScalar timeStep) //std::cout << "Collision Details: " << actorA << ", " << actorB << ", " << numContacts << std::endl; if(numContacts < 1) + { + delete manifold; continue; + } for (int j = 0; j < numContacts; j++) { diff --git a/rcbasic_runtime/rcbasic_runtime.depend b/rcbasic_runtime/rcbasic_runtime.depend index 158804b..ef3da93 100755 --- a/rcbasic_runtime/rcbasic_runtime.depend +++ b/rcbasic_runtime/rcbasic_runtime.depend @@ -33,7 +33,7 @@ "rc_func130_cases.h" -1747838947 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_os_defines.h +1747878586 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_os_defines.h 1747541797 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_defines.h @@ -1272,7 +1272,7 @@ "rc_joints.h" -1747869115 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_gfx_core.h +1748038519 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_gfx_core.h "SDL.h" "btBulletDynamicsCommon.h" "BulletSoftBody/btSoftRigidDynamicsWorld.h" @@ -2043,7 +2043,7 @@ "irrBulletCompileConfig.h" -1747846206 /home/n00b/Projects/irrBullet/include/irrBulletWorld.h +1748026699 /home/n00b/Projects/irrBullet/include/irrBulletWorld.h "irrBulletCommon.h" "irrBulletRigidBody.h" "irrBulletSoftBody.h" @@ -2449,7 +2449,7 @@ "btBulletCollisionCommon.h" "irrBulletTriangleMeshShape.h" -1747870272 source:/home/n00b/Projects/irrBullet/src/irrBulletWorld.cpp +1748037413 source:/home/n00b/Projects/irrBullet/src/irrBulletWorld.cpp diff --git a/rcbasic_runtime/rcbasic_runtime.layout b/rcbasic_runtime/rcbasic_runtime.layout index 8dfce5b..25346b5 100755 --- a/rcbasic_runtime/rcbasic_runtime.layout +++ b/rcbasic_runtime/rcbasic_runtime.layout @@ -2,64 +2,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - + @@ -67,19 +17,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -90,156 +237,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -