From acd63c1497b151e29f9f1d86b2e67c2479c1bbbb Mon Sep 17 00:00:00 2001 From: ozantonkal Date: Thu, 11 Jul 2013 11:52:59 +0200 Subject: [PATCH] fix grid widget unused color --- modules/viz/src/simple_widgets.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/viz/src/simple_widgets.cpp b/modules/viz/src/simple_widgets.cpp index 49e9f68111..91a9cadda9 100644 --- a/modules/viz/src/simple_widgets.cpp +++ b/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 actor->GetProperty ()->SetRepresentationToWireframe (); WidgetAccessor::setProp(*this, actor); + setColor(color); } template<> temp_viz::GridWidget temp_viz::Widget::cast()