Skip to content

Commit

Permalink
fix xyz for 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
w-e-w committed Apr 22, 2024
1 parent 1edd588 commit 0d61808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/!adetailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ def search_and_replace_prompt(p, x: Any, xs: Any, replace_in_main_prompt: bool):
def make_axis_on_xyz_grid():
xyz_grid = None
for script in scripts.scripts_data:
if script.script_class.__module__ == "xyz_grid.py":
if script.script_class.__module__ in ('scripts.xyz_grid', 'xyz_grid.py'):
xyz_grid = script.module
break

Expand Down

0 comments on commit 0d61808

Please sign in to comment.