Allow pixel coordinates as float

pull/997/head
Piero Toffanin 2019-06-22 09:35:05 -04:00
rodzic 95e8b9cc6c
commit 668960eff8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -39,7 +39,7 @@ class GCPFile:
parts = entry.split()
x, y, z, px, py, filename = parts[:6]
extras = " ".join(parts[6:])
return GCPEntry(float(x), float(y), float(z), int(px), int(py), filename, extras)
return GCPEntry(float(x), float(y), float(z), float(px), float(py), filename, extras)
def get_entry(self, n):
if n < self.entries_count():