aboutsummaryrefslogtreecommitdiff
path: root/scripts/xyz_grid.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2024-01-25 05:45:45 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2024-01-25 05:45:45 +0900
commit0466ee2a83680090e28de74881ccf306cb89667c (patch)
treefa9a735bea2f50b9aff9d3f460155d056ef5fd7c /scripts/xyz_grid.py
parent19c95de8eb6a1226f0cd1aaeaa9768cf3cbfdef9 (diff)
xyz filter blank for number axes
Diffstat (limited to 'scripts/xyz_grid.py')
-rw-r--r--scripts/xyz_grid.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py
index 2f385ebf..6d3e42c0 100644
--- a/scripts/xyz_grid.py
+++ b/scripts/xyz_grid.py
@@ -554,6 +554,8 @@ class Script(scripts.Script):
valslist_ext = []
for val in valslist:
+ if val.strip() == '':
+ continue
m = re_range.fullmatch(val)
mc = re_range_count.fullmatch(val)
if m is not None:
@@ -576,6 +578,8 @@ class Script(scripts.Script):
valslist_ext = []
for val in valslist:
+ if val.strip() == '':
+ continue
m = re_range_float.fullmatch(val)
mc = re_range_count_float.fullmatch(val)
if m is not None: