mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
Merge pull request #11674 from csukuangfj:fix-11673
This commit is contained in:
commit
0ddc49c313
@ -528,7 +528,7 @@ void cv::viz::WText3D::setText(const String &text)
|
||||
|
||||
cv::String cv::viz::WText3D::getText() const
|
||||
{
|
||||
vtkFollower *actor = vtkFollower::SafeDownCast(WidgetAccessor::getProp(*this));
|
||||
vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this));
|
||||
CV_Assert("This widget does not support text." && actor);
|
||||
|
||||
vtkPolyDataMapper *mapper = vtkPolyDataMapper::SafeDownCast(actor->GetMapper());
|
||||
|
Loading…
Reference in New Issue
Block a user