Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-27 11:56:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-03-27 11:56:29 +0400
commitb11f29c8ac136888bbdef6d5cc2d481a5692d6ba (patch)
tree9089684b2182a4071bbcda194e93b7eacc319524 /intern/itasc
parent587bbc4213078fab34ebb631c7eb3cdabe61bc3b (diff)
clear some c++ warnings.
Diffstat (limited to 'intern/itasc')
-rw-r--r--intern/itasc/Scene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/itasc/Scene.cpp b/intern/itasc/Scene.cpp
index d46e4da7900..0c5e00ec56f 100644
--- a/intern/itasc/Scene.cpp
+++ b/intern/itasc/Scene.cpp
@@ -292,7 +292,7 @@ bool Scene::update(double timestamp, double timestep, unsigned int numsubstep, b
return true;
}
- double maxqdot;
+ // double maxqdot; // UNUSED
e_scalar nlcoef;
SceneLock lockCallback(this);
Frame external_pose;
@@ -454,7 +454,7 @@ bool Scene::update(double timestamp, double timestep, unsigned int numsubstep, b
// We will pass the joint velocity to each object and they will recommend a maximum timestep
timesubstep = timeleft;
// get armature max joint velocity to estimate the maximum duration of integration
- maxqdot = m_qdot.cwise().abs().maxCoeff();
+ // maxqdot = m_qdot.cwise().abs().maxCoeff(); // UNUSED
double maxsubstep = nlcoef*m_maxstep;
if (maxsubstep < m_minstep)
maxsubstep = m_minstep;