HYDROGUI_ShapeBathymetry* aBathPrs = new HYDROGUI_ShapeBathymetry( 0, aContext, DTM );
aBathPrs->update( true, false );
+ bool ColorScaleIsDisp = TestViewer::ColorScaleIsDisplayed();
TestViewer::showColorScale( true );
Handle_Aspect_ColorScale aCS = TestViewer::colorScale();
aCS->SetMin( 0.0 );
QImage aDTMPrs = draw_DTM( aBathPrs, 0.5, 600, 600 );
CPPUNIT_ASSERT_IMAGES2( &aDTMPrs, "DTM_1" );
delete aBathPrs;
+ TestViewer::showColorScale( ColorScaleIsDisp );
aDoc->Close();
}