mirror of
https://github.com/opencv/opencv.git
synced 2025-06-27 23:11:57 +08:00
Fix issue 10826.
This commit is contained in:
parent
e2a99d24ec
commit
6205981235
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user