1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

fixed crash for windows if console widow is closed or CTRL_C/CTRL_BRAK keys in console are pressed.

This commit is contained in:
Anatoly Baksheev
2014-02-15 20:08:04 +04:00
parent 1a5dfe421d
commit 56754e907d
6 changed files with 62 additions and 12 deletions
+2
View File
@@ -146,3 +146,5 @@ void cv::viz::Viz3d::setRenderingProperty(const String &id, int property, double
double cv::viz::Viz3d::getRenderingProperty(const String &id, int property) { return getWidget(id).getRenderingProperty(property); }
void cv::viz::Viz3d::setRepresentation(int representation) { impl_->setRepresentation(representation); }
void cv::viz::Viz3d::setGlobalWarnings(bool enabled) { vtkObject::SetGlobalWarningDisplay(enabled ? 1 : 0); }