Browse Source

egg-qtess: Fix an unused variable warning

rdb 1 year ago
parent
commit
4f7b153c3f
1 changed files with 2 additions and 0 deletions
  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) {
 place(int count, pvector<double> &iso_points) {
   int i;
   int i;
 
 
+  /*
   // Count up the average curvature.
   // Count up the average curvature.
   double avg_curve = 0.0;
   double avg_curve = 0.0;
   for (i = 0; i < _maxi; i++) {
   for (i = 0; i < _maxi; i++) {
     avg_curve += _cscore[i];
     avg_curve += _cscore[i];
   }
   }
   avg_curve /= (double)_maxi;
   avg_curve /= (double)_maxi;
+  */
 
 
   // Find all the local maxima in the curvature table.  These are bend points.
   // Find all the local maxima in the curvature table.  These are bend points.
   typedef pvector<int> BendPoints;
   typedef pvector<int> BendPoints;