Name row drops, merge sources, playback looping and spritesheet merge options

items_move takes a DropZone, animations_merge MergeSources, Playback::tick PlaybackLoop, and spritesheets_merge SpritesheetMergeOptions.
This commit is contained in:
shweet committed 2026-11-22 18:58:37 -05:00
1 parent 228a15b5b3
commit ada48aefdd
19 files changed
+78 -53

No files matched your search

+2 -5
View File
@@ -645,12 +645,9 @@ bool Document::spritesheet_pack(int id, int padding)
return true;
}
bool Document::spritesheets_merge(const std::set<int>& ids, bool isAppendRight, bool isMakeRegions,
bool isMakePrimaryRegion, Origin origin)
bool Document::spritesheets_merge(const std::set<int>& ids, SpritesheetMergeOptions options)
{
auto merged = ::spritesheets_merge(
model, ids, [this](int id) { return texture_get(id); }, isAppendRight, isMakeRegions, isMakePrimaryRegion,
origin);
auto merged = ::spritesheets_merge(model, ids, [this](int id) { return texture_get(id); }, options);
if (!merged)
return false;
texture_set(*ids.begin(), std::move(*merged));