Commit 78f6e6a1 authored by Andrey Filippov's avatar Andrey Filippov

disable some debug print that caused errors in multithreaded mode

parent 0ee7b87d
...@@ -4003,12 +4003,12 @@ public class TilePlanes { ...@@ -4003,12 +4003,12 @@ public class TilePlanes {
System.out.println("getPlaneToThis(), px_py = {"+px_py[0]+", "+px_py[1]+"}, px_py_other = {"+px_py_other[0]+", "+px_py_other[1]+"}"); System.out.println("getPlaneToThis(), px_py = {"+px_py[0]+", "+px_py[1]+"}, px_py_other = {"+px_py_other[0]+", "+px_py_other[1]+"}");
System.out.println("getPlaneToThis(), disp = "+disp); System.out.println("getPlaneToThis(), disp = "+disp);
System.out.println("getPlaneToThis(), pd="+ pd.toString()); System.out.println("getPlaneToThis(), pd="+ pd.toString());
System.out.println("getPlaneToThis(), otherPd="+ otherPd.toString()); // System.out.println("getPlaneToThis(), otherPd="+ otherPd.toString());
System.out.println("getPlaneToThis(), pd.getWorldXYZ(this.correctDistortions)="+ pd.getWorldXYZ(this.correctDistortions)); // System.out.println("getPlaneToThis(), pd.getWorldXYZ(this.correctDistortions)="+ pd.getWorldXYZ(this.correctDistortions));
System.out.println("getPlaneToThis(), wv1 = {"+ wv1[0]+", "+ wv1[1]+", "+ wv1[2]+"}"); // System.out.println("getPlaneToThis(), wv1 = {"+ wv1[0]+", "+ wv1[1]+", "+ wv1[2]+"}");
System.out.println("getPlaneToThis(), wv2 = {"+ wv2[0]+", "+ wv2[1]+", "+ wv2[2]+"}"); // System.out.println("getPlaneToThis(), wv2 = {"+ wv2[0]+", "+ wv2[1]+", "+ wv2[2]+"}");
double [] norm_xyz = pd.getWorldXYZ(this.correctDistortions); double [] norm_xyz = pd.getWorldXYZ(this.correctDistortions);
System.out.println("getPlaneToThis(),norm_xyz="+ norm_xyz); // System.out.println("getPlaneToThis(),norm_xyz="+ norm_xyz);
disp = geometryCorrection.getPlaneDisparity( // disparity (at this center) for crossing other supertile plane disp = geometryCorrection.getPlaneDisparity( // disparity (at this center) for crossing other supertile plane
norm_xyz, // will calculate if not yet done so. Should it use otherPd, not pd? and then clone later? norm_xyz, // will calculate if not yet done so. Should it use otherPd, not pd? and then clone later?
px_py[0], px_py[0],
......
...@@ -2022,28 +2022,6 @@ if (debugLevel > -100) return true; // temporarily ! ...@@ -2022,28 +2022,6 @@ if (debugLevel > -100) return true; // temporarily !
} }
} }
/*
for (String fname:path_list) { // path is already fiiltered fro the current (not first) set
if (quadCLT_main.setGpsLla(fname)) {
break;
}
}
// setGpsLla(quadCLT_main, )
if (quadCLT_main.gps_lla != null) {
String kml_copy_dir= quadCLT_main.correctionsParameters.selectX3dDirectory(
set_name, // quad timestamp. Will be ignored if correctionsParameters.use_x3d_subdirs is false
null,
true, // smart,
true); //newAllowed, // save
double ts = Double.parseDouble(set_name.replace('_', '.'));
(new X3dOutput()).generateKML(
kml_copy_dir+ Prefs.getFileSeparator()+set_name+"-test"+".kml", // String path,
false, // boolean overwrite,
"", // String icon_path, //<href>x3d/1487451413_967079.x3d</href> ?
ts, // double timestamp,
quadCLT_main.gps_lla); // double [] lla)
}
*/
quadCLT_main.writeKml(debugLevel ); // alos generated with x3d model quadCLT_main.writeKml(debugLevel ); // alos generated with x3d model
String jp4_copy_path= quadCLT_main.correctionsParameters.selectX3dDirectory( String jp4_copy_path= quadCLT_main.correctionsParameters.selectX3dDirectory(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment