diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-27 11:56:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-27 11:56:29 +0400 |
commit | b11f29c8ac136888bbdef6d5cc2d481a5692d6ba (patch) | |
tree | 9089684b2182a4071bbcda194e93b7eacc319524 /intern/itasc | |
parent | 587bbc4213078fab34ebb631c7eb3cdabe61bc3b (diff) |
clear some c++ warnings.
Diffstat (limited to 'intern/itasc')
-rw-r--r-- | intern/itasc/Scene.cpp | 4 |
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; |