diff --git a/vcg/complex/local_optimization/tri_edge_collapse.h b/vcg/complex/local_optimization/tri_edge_collapse.h index 12452e2c..c8f9a8dc 100644 --- a/vcg/complex/local_optimization/tri_edge_collapse.h +++ b/vcg/complex/local_optimization/tri_edge_collapse.h @@ -72,12 +72,14 @@ public: typedef vcg::face::Pos PosType; typedef typename LocalOptimization::HeapElem HeapElem; -private: + +protected: + ///the pos of collapse + PosType pos; ///mark for up_dating static int& _Imark(){ static int im=0; return im;} - ///the pos of collapse - PosType pos; + /// priority in the heap ScalarType _priority;