mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0028316: Coding Rules - Elimilate confusing aliases of Standard_Real type in V3d_View
Quantity_Factor, Quantity_Parameter, Quantity_Ratio, Quantity_Coefficient, Quantity_PlaneAngle, Quantity_Length, V3d_Parameter and V3d_Coordinate have been replaced by Standard_Real in visualization classes.
This commit is contained in:
@@ -607,7 +607,7 @@ void OCC_2dView::MoveEvent2D(const Standard_Integer x,
|
||||
{
|
||||
if(myV2dView->Viewer()->Grid()->IsActive())
|
||||
{
|
||||
Quantity_Length aGridX=0,aGridY=0,aGridZ=0;
|
||||
Standard_Real aGridX=0,aGridY=0,aGridZ=0;
|
||||
myV2dView->ConvertToGrid(x,y,aGridX,aGridY,aGridZ);
|
||||
//View is not updated automatically in ConvertToGrid
|
||||
myV2dView->Update();
|
||||
|
Reference in New Issue
Block a user