Smoke: fixing some compile warning reported by Ton and one compile erro for gcc 4...
[blender.git] / intern / elbeem / intern / solver_init.cpp
index ce54adb48ee4b913a8fe9a0aeabffb560d5c4914..fee011a70aec6caf290159177975753170a3495d 100644 (file)
@@ -1464,7 +1464,7 @@ void LbmFsgrSolver::initMovingObstacles(bool staticInit) {
                                obj->applyTransformation(targetTime, &mMOIVertices,NULL /* no old normals needed */, 0, mMOIVertices.size(), false );
                        } else {
                                // only do transform update
-                               obj->getMovingPoints(mMOIVertices,pNormals);
+                               obj->getMovingPoints(mMOIVertices,pNormals); // mMOIVertices = mCachedMovPoints
                                mMOIVerticesOld = mMOIVertices;
                                // WARNING - assumes mSimulationTime is global!?
                                obj->applyTransformation(targetTime, &mMOIVertices,pNormals, 0, mMOIVertices.size(), false );