multiselect changing on animation preview/spritesheet editor
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ namespace anm2ed::anm2
|
||||
return frame;
|
||||
}
|
||||
|
||||
void Item::frames_change(FrameChange& change, ChangeType type, int start, int numberFrames)
|
||||
void Item::frames_change(FrameChange change, ChangeType type, int start, int numberFrames)
|
||||
{
|
||||
auto useStart = numberFrames > -1 ? start : 0;
|
||||
auto end = numberFrames > -1 ? start + numberFrames : (int)frames.size();
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ namespace anm2ed::anm2
|
||||
std::string to_string(Type, int = -1);
|
||||
int length(Type);
|
||||
Frame frame_generate(float, Type);
|
||||
void frames_change(FrameChange&, ChangeType, int, int = 0);
|
||||
void frames_change(FrameChange, ChangeType, int, int = 0);
|
||||
bool frames_deserialize(const std::string&, Type, int, std::set<int>&, std::string*);
|
||||
void frames_bake(int, int, bool, bool);
|
||||
void frames_generate_from_grid(glm::ivec2, glm::ivec2, glm::ivec2, int, int, int);
|
||||
|
||||
Reference in New Issue
Block a user