From 8b01b0b35d0cc6e6947f49f5b63d6860ed71c0b7 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Fri, 6 Jul 2018 11:42:18 -0400 Subject: [PATCH] SMVS float to int fix, increased version number Former-commit-id: aa8eeaa26cd84f62fa9c16e27c22440e7240267e --- VERSION | 2 +- scripts/smvs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 9e11b32f..1d0ba9ea 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.1 +0.4.0 diff --git a/scripts/smvs.py b/scripts/smvs.py index 9580b884..773a7dc4 100644 --- a/scripts/smvs.py +++ b/scripts/smvs.py @@ -70,7 +70,7 @@ class ODMSmvsCell(ecto.Cell): config = [ "-t%s" % self.params.threads, "-a%s" % self.params.alpha, - "--max-pixels=%s" % self.params.max_pixels, + "--max-pixels=%s" % int(self.params.max_pixels), "-o%s" % self.params.output_scale, "--debug-lvl=%s" % ('1' if self.params.verbose else '0'), "%s" % '-S' if self.params.shading else '',