Pārlūkot izejas kodu

egg-qtess: Fix an unused variable warning

rdb 1 gadu atpakaļ
vecāks
revīzija
4f7b153c3f
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      pandatool/src/egg-qtess/isoPlacer.cxx

+ 2 - 0
pandatool/src/egg-qtess/isoPlacer.cxx

@@ -108,12 +108,14 @@ void IsoPlacer::
 place(int count, pvector<double> &iso_points) {
   int i;
 
+  /*
   // Count up the average curvature.
   double avg_curve = 0.0;
   for (i = 0; i < _maxi; i++) {
     avg_curve += _cscore[i];
   }
   avg_curve /= (double)_maxi;
+  */
 
   // Find all the local maxima in the curvature table.  These are bend points.
   typedef pvector<int> BendPoints;