|
@@ -118,7 +118,7 @@ IGL_INLINE void igl::viewer::ViewerData::set_mesh(const Eigen::MatrixXd& _V, con
|
|
|
F = _F;
|
|
|
}
|
|
|
else
|
|
|
- cerr << "ERROR (set_mesh): The new mesh has a different number of vertices/faces. Please clear the mesh before plotting.";
|
|
|
+ cerr << "ERROR (set_mesh): The new mesh has a different number of vertices/faces. Please clear the mesh before plotting."<<endl;
|
|
|
}
|
|
|
dirty |= DIRTY_FACE | DIRTY_POSITION;
|
|
|
}
|
|
@@ -144,7 +144,7 @@ IGL_INLINE void igl::viewer::ViewerData::set_normals(const Eigen::MatrixXd& N)
|
|
|
F_normals = N;
|
|
|
}
|
|
|
else
|
|
|
- cerr << "ERROR (set_normals): Please provide a normal per face, per corner or per vertex.";
|
|
|
+ cerr << "ERROR (set_normals): Please provide a normal per face, per corner or per vertex."<<endl;
|
|
|
dirty |= DIRTY_NORMAL;
|
|
|
}
|
|
|
|
|
@@ -195,7 +195,7 @@ IGL_INLINE void igl::viewer::ViewerData::set_colors(const Eigen::MatrixXd &C)
|
|
|
F_material_specular = specular(F_material_diffuse);
|
|
|
}
|
|
|
else
|
|
|
- cerr << "ERROR (set_colors): Please provide a single color, or a color per face or per vertex.";
|
|
|
+ cerr << "ERROR (set_colors): Please provide a single color, or a color per face or per vertex."<<endl;;
|
|
|
dirty |= DIRTY_DIFFUSE;
|
|
|
|
|
|
}
|
|
@@ -209,7 +209,7 @@ IGL_INLINE void igl::viewer::ViewerData::set_uv(const Eigen::MatrixXd& UV)
|
|
|
V_uv = UV;
|
|
|
}
|
|
|
else
|
|
|
- cerr << "ERROR (set_UV): Please provide uv per vertex.";
|
|
|
+ cerr << "ERROR (set_UV): Please provide uv per vertex."<<endl;;
|
|
|
dirty |= DIRTY_UV;
|
|
|
}
|
|
|
|