[Alembic] Fix msvc warning - C4138 '*/' found outside of comment
authorlazydodo <github@lazydodo.com>
Wed, 15 Feb 2017 19:40:41 +0000 (12:40 -0700)
committerlazydodo <github@lazydodo.com>
Wed, 15 Feb 2017 19:40:41 +0000 (12:40 -0700)
source/blender/alembic/intern/abc_curves.cc
source/blender/alembic/intern/abc_points.cc
source/blender/alembic/intern/abc_transform.cc

index 282777f3af01d95dac453c94690a1b909349a7a5..0542255d84b648a46e7f95d161ca772f0f65e610 100644 (file)
@@ -361,7 +361,7 @@ void read_curve_sample(Curve *cu, const ICurvesSchema &schema, const float time)
  * object directly and create a new DerivedMesh from that. Also we might need to
  * create new or delete existing NURBS in the curve.
  */
-DerivedMesh *AbcCurveReader::read_derivedmesh(DerivedMesh */*dm*/, const float time, int /*read_flag*/, const char **/*err_str*/)
+DerivedMesh *AbcCurveReader::read_derivedmesh(DerivedMesh * /*dm*/, const float time, int /*read_flag*/, const char ** /*err_str*/)
 {
        ISampleSelector sample_sel(time);
        const ICurvesSchema::Sample sample = m_curves_schema.getValue(sample_sel);
index 4c78f3e83c7e72cb6fd624f86d4cd30907ef8b4a..fc84759b1d9b931133b79952e534f77197de7f20 100644 (file)
@@ -200,7 +200,7 @@ void read_points_sample(const IPointsSchema &schema,
        read_mverts(config.mvert, positions, vnormals);
 }
 
-DerivedMesh *AbcPointsReader::read_derivedmesh(DerivedMesh *dm, const float time, int /*read_flag*/, const char **/*err_str*/)
+DerivedMesh *AbcPointsReader::read_derivedmesh(DerivedMesh *dm, const float time, int /*read_flag*/, const char ** /*err_str*/)
 {
        ISampleSelector sample_sel(time);
        const IPointsSchema::Sample sample = m_schema.getValue(sample_sel);
index 368a811bb2abf09c056393475a234d5842e4f77d..2c6ef09326cf1a02d9d3a282d50b15ae4ffaf172 100644 (file)
@@ -122,7 +122,7 @@ Imath::Box3d AbcTransformWriter::bounds()
        return Imath::transform(bounds, m_matrix);
 }
 
-bool AbcTransformWriter::hasAnimation(Object */*ob*/) const
+bool AbcTransformWriter::hasAnimation(Object * /*ob*/) const
 {
        /* TODO(kevin): implement this. */
        return true;