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:
1 parent
228a15b5b3
commit
ada48aefdd
19 files changed
+78
-53
No files matched your search
+2
-1
@@ -70,7 +70,8 @@ inline std::vector<Variant> variants_get(const Model& model)
|
||||
{
|
||||
auto merged = model;
|
||||
std::set<int> sources = {0, 1, 2};
|
||||
animations_merge(merged, 0, sources, type, type == MERGE_PREPEND || type == MERGE_REPLACE, {});
|
||||
animations_merge(merged, 0, sources, type,
|
||||
type == MERGE_PREPEND || type == MERGE_REPLACE ? SOURCES_DELETED : SOURCES_KEPT, {});
|
||||
variants.emplace_back(name, model_serialize(merged, SAVE_EDITOR));
|
||||
}
|
||||
return variants;
|
||||
|
||||
Reference in new issue
Block a user