update color at picking and cleanup code from some warnings
This commit is contained in:
@@ -126,7 +126,7 @@ void NodePanelLayer::init()
|
||||
auto num = m[2].str();
|
||||
int count = atoi(num.c_str()) + 1;
|
||||
char tmp[128];
|
||||
sprintf(tmp, "%s%0*d", m[1].str().c_str(), num.length(), count);
|
||||
sprintf(tmp, "%s%0*d", m[1].str().c_str(), (int)num.length(), count);
|
||||
next = tmp;
|
||||
}
|
||||
int source_index = m_layers_container->get_child_index(m_current_layer);
|
||||
|
||||
Reference in New Issue
Block a user