From c37fa80044923619dc269b6c539a90897d557819 Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Mon, 22 Apr 2024 13:07:10 +0900 Subject: [PATCH 1/2] fix xyz for 1.9 --- scripts/agat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/agat.py b/scripts/agat.py index 42ce3e4..5862f38 100644 --- a/scripts/agat.py +++ b/scripts/agat.py @@ -249,7 +249,7 @@ def fun(p, x, xs): return fun def make_axis_options(): - xyz_grid = [x for x in scripts.scripts_data if x.script_class.__module__ == "xyz_grid.py"][0].module + xyz_grid = [x for x in scripts.scripts_data if x.script_class.__module__ in ('scripts.xyz_grid', 'xyz_grid.py')][0].module extra_axis_options = { xyz_grid.AxisOption("[AgentAttention] Active", str, aa_apply_override('aa_active', boolean=True), choices=xyz_grid.boolean_choice(reverse=True)), xyz_grid.AxisOption("[AgentAttention] Use Second Pass", str, aa_apply_override('aa_use_sp', boolean=True), choices=xyz_grid.boolean_choice(reverse=True)), From 8936823d0f75fffb368f40855219c9d1db721c24 Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Mon, 22 Apr 2024 13:07:27 +0900 Subject: [PATCH 2/2] git ignore __pycache__/ --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c18dd8d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +__pycache__/