Skip to content
Snippets Groups Projects
Commit 9e281f1a authored by Fabian Paus's avatar Fabian Paus
Browse files

ArViz: Fix recursion on commit call

parent 11768f92
No related branches found
No related tags found
No related merge requests found
...@@ -319,7 +319,9 @@ namespace viz ...@@ -319,7 +319,9 @@ namespace viz
void commit(Layer const& layer) void commit(Layer const& layer)
{ {
commit({layer}); std::vector<Layer> layers;
layers.push_back(layer);
commit(layers);
} }
void commit(std::vector<Layer> const& layers); void commit(std::vector<Layer> const& layers);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment