diff --git a/modules/viz/src/widget.cpp b/modules/viz/src/widget.cpp index ce933ed0d8..6c2789f895 100644 --- a/modules/viz/src/widget.cpp +++ b/modules/viz/src/widget.cpp @@ -301,6 +301,7 @@ void cv::viz::Widget3D::applyTransform(const Affine3d &transform) vtkSmartPointer mapper = vtkPolyDataMapper::SafeDownCast(actor->GetMapper()); CV_Assert("Widget doesn't have a polydata mapper" && mapper); + mapper->Update(); // #10945 VtkUtils::SetInputData(mapper, VtkUtils::TransformPolydata(mapper->GetInput(), transform)); mapper->Update(); }