Commit 12062df8 authored by Felix Schröder's avatar Felix Schröder
Browse files

Fix removed render layer bug

parent ebf5a917
......@@ -761,6 +761,7 @@ void Editor::drawRenderingTab()
const auto id = it->indexInRenderer ? *it->indexInRenderer
: std::numeric_limits<uint32_t>::max();
it = m_activeRenderLayers.erase(it);
for(auto& rl : m_activeRenderLayers)
if(rl.indexInRenderer && *rl.indexInRenderer > id)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment