mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Don't encourage the usage of layerIndex param in ExportSpriteSheetParams
Until we don't have a standarized way to indicate layers by indexes.
This commit is contained in:
parent
d5f54da021
commit
f925e22561
@ -76,7 +76,12 @@ struct ExportSpriteSheetParams : public NewParams {
|
||||
Param<bool> mergeDuplicates { this, false, "mergeDuplicates" };
|
||||
Param<bool> openGenerated { this, false, "openGenerated" };
|
||||
Param<std::string> layer { this, std::string(), "layer" };
|
||||
Param<int> layerIndex { this, -1, "layerIndex" };
|
||||
// TODO The layerIndex parameter is for internal use only, layers
|
||||
// are counted in the same order as they are displayed in the
|
||||
// Timeline or in the Export Sprite Sheet combobox. But this
|
||||
// index is different to the one specified in the .aseprite
|
||||
// file spec (where layers are counted from bottom to top).
|
||||
Param<int> layerIndex { this, -1, "_layerIndex" };
|
||||
Param<std::string> tag { this, std::string(), "tag" };
|
||||
Param<bool> splitLayers { this, false, "splitLayers" };
|
||||
Param<bool> splitTags { this, false, "splitTags" };
|
||||
|
Loading…
Reference in New Issue
Block a user