First set of changes to the new circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@898 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -64,7 +64,7 @@ void smooth_mesh_property(unsigned int _n_iters, _Mesh& _m, _PropertyHandle _pph
|
||||
{
|
||||
unsigned int valence = 0;
|
||||
|
||||
Value& temp_value = temp_values[cv_it.handle().idx()];
|
||||
Value& temp_value = temp_values[cv_it->idx()];
|
||||
|
||||
temp_value.vectorize(0);
|
||||
|
||||
@@ -87,7 +87,7 @@ void smooth_mesh_property(unsigned int _n_iters, _Mesh& _m, _PropertyHandle _pph
|
||||
for ( typename _Mesh::ConstVertexIter cv_it = _m.vertices_begin();
|
||||
cv_it != _m.vertices_end(); ++cv_it)
|
||||
{
|
||||
_m.property(_pph,cv_it) = temp_values[cv_it.handle().idx()];
|
||||
_m.property(_pph,cv_it) = temp_values[cv_it->idx()];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user