From 2ce42f113d79f266bc1010a036bf410d5476734b Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 11 Jul 2017 14:55:03 +0300 Subject: [PATCH] Fix previous wrong commit: compilation with OCCT 7.1.0p1. --- src/OCCViewer/OCCViewer_ViewWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OCCViewer/OCCViewer_ViewWindow.cxx b/src/OCCViewer/OCCViewer_ViewWindow.cxx index 0be9a6da8..060349844 100644 --- a/src/OCCViewer/OCCViewer_ViewWindow.cxx +++ b/src/OCCViewer/OCCViewer_ViewWindow.cxx @@ -2288,7 +2288,7 @@ QImage OCCViewer_ViewWindow::dumpView() #if OCC_VERSION_LARGE > 0x07010001 Quantity_Color pixel = aPix.PixelColor( i, j ).GetRGB(); #else - Quantity_Color pixel = aPix.PixelColor( i, j ).RGB(); + Quantity_Color pixel = aPix.PixelColor( i, j ); #endif QColor color = QColor::fromRgbF( pixel.Red(), pixel.Green(), pixel.Blue() ); anImage.setPixelColor( i, j, color ); -- 2.39.2