[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/htmesh
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2011-02-20 18:03:31
Message-ID: 20110220180331.441E7AC8EA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1221846 by khudyakov:

Remove dead code

 M  +1 -8      SpatialIndex.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/htmesh/SpatialIndex.cpp #1221845:1221846
@@ -570,15 +570,8 @@
 		}
     }
     name[len] = '\0';
-	ID = idByName(name);
-	if(0){
-		SpatialVector vec;
-		pointById(vec, ID);
-		//cerr << "pointById: ----------------" << endl;
-		//vec.show();
+    return idByName(name);
 	}    
-	return ID;
-}
 
 //////////////////ISINSIDE/////////////////////////////////////////////////
 // Test whether a vector is inside a triangle. Input triangle has
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic