Commit eecca310 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla

COMP:Diasable compiler warning 4201 for color class

parent 43eae007
......@@ -128,10 +128,6 @@ main()
scene->addLight(colorLight);
scene->addSceneObject(deformableObj);
// print UPS
/*auto ups = std::make_shared<UPSCounter>();
apiutils::printUPS(sdk->getSceneManager(scene), ups);*/
scene->getCamera()->setFocalPoint(0, -5, 5);
scene->getCamera()->setPosition(-15., -5.0, 15.0);
......
......@@ -23,6 +23,8 @@
#include <iostream>
/// \todo remove nameless union/struct in the future
#pragma warning(disable : 4201)
namespace imstk
{
///
......@@ -102,4 +104,5 @@ struct Color
static Color Orange;
static Color Yellow;
};
#pragma warning(default : 4201)
}
......@@ -394,7 +394,7 @@ PbdModel::initializeConstantDensityConstraint(const double stiffness)
&& m_mesh->getType() != Geometry::Type::PointSet)
{
//\todo Really only need a point cloud, so may need to change this.
LOG(WARNING) << "Constant constraint should come with a mesh!";
LOG(WARNING) << "Constant constraint should come with a mesh!";
return false;
}
......
......@@ -34,7 +34,7 @@ SPHModelConfig::SPHModelConfig(const Real particleRadius)
}
else
{
LOG(WARNING, "Particle radius too small! Setting to 1.e-6");
LOG(WARNING) << "Particle radius too small! Setting to 1.e-6";
m_particleRadius = 1.e-6;
}
initialize();
......
......@@ -127,7 +127,7 @@ public:
///
/// \brief Reset the current state to the initial state
///
virtual void resetToInitialState() override
virtual void resetToInitialState() override
{ this->m_currentState->setState(this->m_initialState); }
///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment