Made the member with the distfunctor no more a reference but a copy. To avoid issues when passing temporary dist functors...
This commit is contained in:
parent
d3d85dd0c0
commit
f96cbbe7e4
|
@ -528,7 +528,7 @@ namespace vcg{
|
|||
ScalarType step_size; //radius step
|
||||
std::vector<Entry_Type> Elems; //element loaded from the current sphere
|
||||
|
||||
DISTFUNCTOR &dist_funct;
|
||||
DISTFUNCTOR dist_funct;
|
||||
TMARKER tm;
|
||||
|
||||
typedef typename std::vector<Entry_Type>::reverse_iterator ElemIterator;
|
||||
|
|
Loading…
Reference in New Issue