mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
small fix
This commit is contained in:
parent
15bd298c3a
commit
7b6f1c7592
@ -213,8 +213,8 @@ namespace
|
|||||||
// SurfaceStyleFillArea, SurfaceStyleBoundary, SurfaceStyleRendering.
|
// SurfaceStyleFillArea, SurfaceStyleBoundary, SurfaceStyleRendering.
|
||||||
// So we're using && operator to stop as soon as this type is processed.
|
// So we're using && operator to stop as soon as this type is processed.
|
||||||
ProcessAsSurfaceStyleFillArea(aSSES, aSSU->Side(), theSurfaceColour)
|
ProcessAsSurfaceStyleFillArea(aSSES, aSSU->Side(), theSurfaceColour)
|
||||||
&& ProcessAsSurfaceStyleBoundary(aSSES, theBoundaryColour)
|
|| ProcessAsSurfaceStyleBoundary(aSSES, theBoundaryColour)
|
||||||
&& ProcessAsSurfaceStyleRendering(aSSES, theRenderColour, theRenderTransparency);
|
|| ProcessAsSurfaceStyleRendering(aSSES, theRenderColour, theRenderTransparency);
|
||||||
}
|
}
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
}
|
}
|
||||||
@ -799,7 +799,7 @@ Standard_Boolean STEPConstruct_Styles::GetColors(const Handle(StepVisual_StyledI
|
|||||||
theBoundaryColour,
|
theBoundaryColour,
|
||||||
theRenderColour,
|
theRenderColour,
|
||||||
theRenderTransparency)
|
theRenderTransparency)
|
||||||
&& ProcessAsCurveStyle(aPSS, theCurveColour);
|
|| ProcessAsCurveStyle(aPSS, theCurveColour);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return !theSurfaceColour.IsNull() || !theBoundaryColour.IsNull() || !theCurveColour.IsNull()
|
return !theSurfaceColour.IsNull() || !theBoundaryColour.IsNull() || !theCurveColour.IsNull()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user