1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0025027: Visualization - 2D layer viewport is updated incorrectly on resize

Test case for issue CR25027
This commit is contained in:
kgv
2014-06-26 12:50:30 +04:00
committed by apn
parent 2c5643b6a7
commit c1c1aefa71
2 changed files with 18 additions and 1 deletions

View File

@@ -346,7 +346,7 @@ void Visual3d_ViewManager::Redraw() const
{
MyDefinedView.Value(i)->Window()->Size (aWidth, aHeight);
aWidthMax = Max (aWidthMax, aWidth);
aHeightMax = Max (aHeightMax, aWidth);
aHeightMax = Max (aHeightMax, aHeight);
}
if (!MyUnderLayer.IsNull())