Parcourir la source

v.in.pdal: fix filtering by bbox (#359)

Anna Petrasova il y a 5 ans
Parent
commit
152ac1ed57
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      vector/v.in.pdal/filters.c

+ 1 - 1
vector/v.in.pdal/filters.c

@@ -25,7 +25,7 @@
 int spatial_filter_from_option(struct Option *option, double *xmin,
                                double *ymin, double *xmax, double *ymax)
 {
-    if (option->answer)
+    if (!option->answer)
         return FALSE;
     int arg_s_num = 0;
     int i = 0;