mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-30 10:13:03 +08:00
xyz filter blank for number axes
This commit is contained in:
parent
19c95de8eb
commit
0466ee2a83
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user