Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

xyz grid handle axis_type is None#14394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
AUTOMATIC1111 merged 1 commit intodevfromminor-xyz-fix
Dec 30, 2023
Merged

xyz grid handle axis_type is None#14394

AUTOMATIC1111 merged 1 commit intodevfromminor-xyz-fix
Dec 30, 2023

Conversation

@w-e-w
Copy link
Collaborator

@w-e-ww-e-w commentedDec 21, 2023
edited
Loading

Description

xyz grid
if the selected axle from dropdown is not found theaxis_type index will beNone
triggering and error

  File"B:\GitHub\stable-diffusion-webui\scripts\xyz_grid.py", line 479,in select_axis    choices = self.current_axis_options[axis_type].choicesTypeError: list indices must be integers or slices, not NoneType

simple fix
ifaxis_type is None then set to index0 (Nothing)

same logic also applies torun()

Screenshots/videos:

2023-12-22.00_14_11_609.chrome.mp4

Checklist:

@w-e-ww-e-w changed the titlehandle axis_type is Nonexyz grid handle axis_type is NoneDec 21, 2023
@AUTOMATIC1111AUTOMATIC1111 merged commit1d603eb intodevDec 30, 2023
@AUTOMATIC1111AUTOMATIC1111 deleted the minor-xyz-fix branchDecember 30, 2023 12:06
@w-e-ww-e-w mentioned this pull requestJan 1, 2024
4 tasks
@w-e-ww-e-w mentioned this pull requestFeb 17, 2024
@pawel665jpawel665j mentioned this pull requestApr 16, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@AUTOMATIC1111AUTOMATIC1111AUTOMATIC1111 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@w-e-w@AUTOMATIC1111

[8]ページ先頭

©2009-2025 Movatter.jp