mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -08:00
xyz filter blank for number axes
This commit is contained in:
parent
19c95de8eb
commit
0466ee2a83
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue