mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-01 12:25:06 +08:00
Merge pull request #14754 from AUTOMATIC1111/xyz-filter-blank-for-number-axes
XYZ filter blank for number axes
This commit is contained in:
commit
c6c9d12275
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user