]> git.street.me.uk Git - andy/viking.git/blobdiff - src/datasource_bfilter.c
Allow opening of files via Drag and Drop onto the Viewport.
[andy/viking.git] / src / datasource_bfilter.c
index 848af0f4cfeebec709d4c7330f650555b00c7da9..702352f54a81eff671be5cd32324a99a9bacff07 100644 (file)
@@ -43,7 +43,7 @@ VikLayerParamScale simplify_params_scales[] = {
 };
 
 VikLayerParam bfilter_simplify_params[] = {
-  { "numberofpoints", VIK_LAYER_PARAM_UINT, VIK_LAYER_GROUP_NONE, N_("Max number of points:"), VIK_LAYER_WIDGET_SPINBUTTON, simplify_params_scales, NULL, NULL },
+  { VIK_LAYER_NUM_TYPES, "numberofpoints", VIK_LAYER_PARAM_UINT, VIK_LAYER_GROUP_NONE, N_("Max number of points:"), VIK_LAYER_WIDGET_SPINBUTTON, simplify_params_scales, NULL, NULL },
 };
 
 VikLayerParamData bfilter_simplify_params_defaults[] = {