Commit acd63c14 authored by ozantonkal's avatar ozantonkal

fix grid widget unused color

parent eef81955
...@@ -442,6 +442,7 @@ temp_viz::GridWidget::GridWidget(Vec2i dimensions, Vec2d spacing, const Color &c ...@@ -442,6 +442,7 @@ temp_viz::GridWidget::GridWidget(Vec2i dimensions, Vec2d spacing, const Color &c
// Show it as wireframe // Show it as wireframe
actor->GetProperty ()->SetRepresentationToWireframe (); actor->GetProperty ()->SetRepresentationToWireframe ();
WidgetAccessor::setProp(*this, actor); WidgetAccessor::setProp(*this, actor);
setColor(color);
} }
template<> temp_viz::GridWidget temp_viz::Widget::cast<temp_viz::GridWidget>() template<> temp_viz::GridWidget temp_viz::Widget::cast<temp_viz::GridWidget>()
......
Markdown is supported
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