xyz filter blank for number axes

This commit is contained in:
w-e-w 2024-01-25 05:45:45 +09:00
parent 19c95de8eb
commit 0466ee2a83
1 changed files with 4 additions and 0 deletions

View File

@ -554,6 +554,8 @@ class Script(scripts.Script):
valslist_ext = [] valslist_ext = []
for val in valslist: for val in valslist:
if val.strip() == '':
continue
m = re_range.fullmatch(val) m = re_range.fullmatch(val)
mc = re_range_count.fullmatch(val) mc = re_range_count.fullmatch(val)
if m is not None: if m is not None:
@ -576,6 +578,8 @@ class Script(scripts.Script):
valslist_ext = [] valslist_ext = []
for val in valslist: for val in valslist:
if val.strip() == '':
continue
m = re_range_float.fullmatch(val) m = re_range_float.fullmatch(val)
mc = re_range_count_float.fullmatch(val) mc = re_range_count_float.fullmatch(val)
if m is not None: if m is not None: