fix grid widget unused color

pull/1453/head
ozantonkal 12 years ago
parent eef8195569
commit acd63c1497
  1. 1
      modules/viz/src/simple_widgets.cpp

@ -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>()

Loading…
Cancel
Save