From 669d2c5c50bb265b245901a3b8e3ecfbe238342e Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Fri, 27 Jan 2006 00:44:51 +0000 Subject: [PATCH] force node was not being used so it is removed --- panda/src/physics/linearEulerIntegrator.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/panda/src/physics/linearEulerIntegrator.cxx b/panda/src/physics/linearEulerIntegrator.cxx index 7b78428704..e459a7873c 100644 --- a/panda/src/physics/linearEulerIntegrator.cxx +++ b/panda/src/physics/linearEulerIntegrator.cxx @@ -106,7 +106,6 @@ child_integrate(Physical *physical, LVector3f f; // LMatrix4f force_to_object_xform; - ForceNode *force_node; LinearForceVector::const_iterator f_cur; // global forces @@ -119,7 +118,6 @@ child_integrate(Physical *physical, if (cur_force->get_active() == false) { continue; } - force_node = cur_force->get_force_node(); // now we go from force space to our object's space. f = cur_force->get_vector(current_object) * matrices[index++]; @@ -142,7 +140,6 @@ child_integrate(Physical *physical, if (cur_force->get_active() == false) { continue; } - force_node = cur_force->get_force_node(); // go from force space to object space f = cur_force->get_vector(current_object) * matrices[index++];