multisampled random rays

This commit is contained in:
2019-01-12 23:37:54 +01:00
parent 6b0dc38ee4
commit c3220b5b15
3 changed files with 32 additions and 28 deletions

View File

@@ -189,6 +189,8 @@ NodeLayer* NodePanelLayer::add_layer(const char* name)
m_current_layer = l;
m_current_layer->m_selected = true;
m_layers.push_back(l);
if (on_layer_change)
on_layer_change(this, -1, m_layers_container->get_child_index(m_current_layer));
update_attributes();
return l;
}