use unique_ptr to hold the Layers vector
This commit is contained in:
@@ -283,7 +283,7 @@ void NodePanelLayer::clear()
|
||||
void NodePanelLayer::update_attributes()
|
||||
{
|
||||
auto& l = Canvas::I->m_layers[Canvas::I->m_current_layer_idx];
|
||||
m_opacity->set_value(l.m_opacity);
|
||||
m_alpha_lock->set_value(l.m_alpha_locked);
|
||||
m_blend_mode->set_index(l.m_blend_mode);
|
||||
m_opacity->set_value(l->m_opacity);
|
||||
m_alpha_lock->set_value(l->m_alpha_locked);
|
||||
m_blend_mode->set_index(l->m_blend_mode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user