1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

fix grid widget unused color

This commit is contained in:
ozantonkal
2013-07-11 11:52:59 +02:00
parent eef8195569
commit acd63c1497
+1
View File
@@ -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<temp_viz::GridWidget>()