diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-26 17:52:24 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-26 17:52:24 +0100 |
commit | eb72978eb28008f677145dbeb1b3090ed47a5b19 (patch) | |
tree | 159f52e636a20c2320d64e9a67a84c07fb2af8eb /src/Panorama.cxx | |
parent | 4459b8bfd97f2373ce55b37e905b419f2c0e8920 (diff) |
validate lsq results
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r-- | src/Panorama.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx index b0d0228..ad0fdf4 100644 --- a/src/Panorama.cxx +++ b/src/Panorama.cxx @@ -130,7 +130,9 @@ Panorama::comp_params(Hills *h) { int ret; ret = proj->comp_params(h, &parms); - update_visible_mountains(); + if (ret == 0) + update_visible_mountains(); + return ret; } |