Merge pull request #14754 from AUTOMATIC1111/xyz-filter-blank-for-number-axes

XYZ filter blank for number axes
This commit is contained in:
AUTOMATIC1111 2024-01-26 00:41:24 +03:00 committed by GitHub
commit c6c9d12275
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: