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

ArViz: Fix compile error


Signed-off-by: default avatarFabian Paus <fabian.paus@kit.edu>
parent 13f20823
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ namespace viz ...@@ -107,7 +107,7 @@ namespace viz
{ {
std::vector<viz::Layer> layers; std::vector<viz::Layer> layers;
viz::Layer& newLayer = layers.emplace_back(this->layer(name)); viz::Layer& newLayer = layers.emplace_back(this->layer(name));
if (element != nullptr) if (element)
{ {
newLayer.add(element); newLayer.add(element);
} }
......
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