fix grid widget unused color
This commit is contained in:
parent
eef8195569
commit
acd63c1497
@ -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…
x
Reference in New Issue
Block a user