fix(rendering): complete character visual regression fixes

This commit is contained in:
shen
2026-09-08 13:26:42 +08:00
parent c3a6fb973e
commit cea79fe17c
15 changed files with 380 additions and 35 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Local macOS visual tests must load the library that was just built.
set -euo pipefail
cd "$(dirname "$0")/.."
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target mtgodot -j8
cp project/bin/libmtgodot.macos.template_release.dylib project/bin/libmtgodot.macos.template_debug.dylib
codesign --force --sign - project/bin/libmtgodot.macos.template_debug.dylib
shasum -a 256 project/bin/libmtgodot.macos.template_debug.dylib
"${GODOT:-godot}" --headless --path project --script character_winding_test.gd
"${GODOT:-godot}" --path project --script char_select_visual_test.gd -- "$@"