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

Merge pull request #10836 from csukuangfj:fix-10826

This commit is contained in:
Alexander Alekhin
2018-02-12 09:23:55 +00:00
+2
View File
@@ -202,6 +202,8 @@ double cv::viz::Widget::getRenderingProperty(int property) const
#else
case IMMEDIATE_RENDERING: std::cerr << "this property has no effect" << std::endl; break;
#endif
case AMBIENT: value = actor->GetProperty()->GetAmbient(); break;
case LIGHTING: value = actor->GetProperty()->GetLighting(); break;
case FONT_SIZE:
{
vtkTextActor* text_actor = vtkTextActor::SafeDownCast(actor);