implement load/unload frames
This commit is contained in:
@@ -1349,7 +1349,7 @@ void App::initLayout()
|
||||
{
|
||||
auto& l = Canvas::I->layer();
|
||||
l.m_frame_index = (int)glm::clamp<int>(
|
||||
floor(value * l.m_frames.size()), 0, (int)l.m_frames.size() - 1);
|
||||
floor(value * l.frames_count()), 0, l.frames_count() - 1);
|
||||
/*
|
||||
auto& c = *Canvas::I;
|
||||
for (int i = 0; i < c.m_layers.size(); i++)
|
||||
|
||||
Reference in New Issue
Block a user