Commit 62059812 authored by Fangjun Kuang's avatar Fangjun Kuang

Fix issue 10826.

parent e2a99d24
...@@ -202,6 +202,8 @@ double cv::viz::Widget::getRenderingProperty(int property) const ...@@ -202,6 +202,8 @@ double cv::viz::Widget::getRenderingProperty(int property) const
#else #else
case IMMEDIATE_RENDERING: std::cerr << "this property has no effect" << std::endl; break; case IMMEDIATE_RENDERING: std::cerr << "this property has no effect" << std::endl; break;
#endif #endif
case AMBIENT: value = actor->GetProperty()->GetAmbient(); break;
case LIGHTING: value = actor->GetProperty()->GetLighting(); break;
case FONT_SIZE: case FONT_SIZE:
{ {
vtkTextActor* text_actor = vtkTextActor::SafeDownCast(actor); vtkTextActor* text_actor = vtkTextActor::SafeDownCast(actor);
......
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