From 22232ff7dcfd340fe186be52b4a2bc19489cb251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20F=C3=BCndgens?= Date: Fri, 13 Feb 2015 15:38:43 +0100 Subject: [PATCH] Undid something i did not want to include in the last commit. --- physics.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/physics.cc b/physics.cc index 27c9a4b..0f5cd42 100644 --- a/physics.cc +++ b/physics.cc @@ -25,11 +25,11 @@ void Physics::init(std::string geometryPath) //prepares bullet by creating all i void Physics::takeUpdateStep(float timeDiff) { counter++; - /*if(counter<1) + if(counter<1) { world->stepSimulation(timeDiff); //allows the world to be simmulated correctly indipendant of the timedifferences between frames return; - }*/ + } for(unsigned i = 0; i < allPositionConstraints.size();i++) //this handles the spring constraints {