Skip to content

Commit

Permalink
Merge pull request #14754 from AUTOMATIC1111/xyz-filter-blank-for-num…
Browse files Browse the repository at this point in the history
…ber-axes

XYZ filter blank for number axes
  • Loading branch information
AUTOMATIC1111 authored Jan 25, 2024
2 parents 19c95de + 0466ee2 commit c6c9d12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/xyz_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,8 @@ def process_axis(opt, vals, vals_dropdown):
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:
Expand All @@ -576,6 +578,8 @@ def process_axis(opt, vals, vals_dropdown):
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:
Expand Down

0 comments on commit c6c9d12

Please sign in to comment.