Moved spritesheet texture handling to anm2 instead of resources; added undoing for spritesheet texture changes; refactoring

This commit is contained in:
shweet committed 2025-08-27 00:28:41 -04:00
1 parent c9056ce707
commit 3546f27655
22 files changed
+376 -391

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ static bool _anm2_rescale(const std::string& file, f32 scale)
{
Anm2 anm2;
if (!anm2_deserialize(&anm2, nullptr, file)) return false;
if (!anm2_deserialize(&anm2, file)) return false;
anm2_scale(&anm2, scale);
return anm2_serialize(&anm2, file);
}