mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +03:00
small fix
This commit is contained in:
parent
7b6f1c7592
commit
2d30324c28
@ -162,10 +162,6 @@ namespace
|
|||||||
{
|
{
|
||||||
return Standard_False;
|
return Standard_False;
|
||||||
}
|
}
|
||||||
if (theSide == StepVisual_ssNegative)
|
|
||||||
{
|
|
||||||
return Standard_True;
|
|
||||||
}
|
|
||||||
const Handle(StepVisual_FillAreaStyle) aFAS = aSSFA->FillArea();
|
const Handle(StepVisual_FillAreaStyle) aFAS = aSSFA->FillArea();
|
||||||
if (aFAS.IsNull())
|
if (aFAS.IsNull())
|
||||||
{
|
{
|
||||||
@ -176,7 +172,11 @@ namespace
|
|||||||
{
|
{
|
||||||
const StepVisual_FillStyleSelect aFSS = aFAS->FillStylesValue(aFSSIndex);
|
const StepVisual_FillStyleSelect aFSS = aFAS->FillStylesValue(aFSSIndex);
|
||||||
const Handle(StepVisual_FillAreaStyleColour) aFASC = aFSS.FillAreaStyleColour();
|
const Handle(StepVisual_FillAreaStyleColour) aFASC = aFSS.FillAreaStyleColour();
|
||||||
if (!aFASC.IsNull() && theSurfaceColour.IsNull()) //abv 30 Mar 00: trj3_s1-pe.stp
|
if (!aFASC.IsNull()
|
||||||
|
// If current surface color is null, we will use negative side color.
|
||||||
|
// Otherwise negative side color is ignored.
|
||||||
|
&& (theSurfaceColour.IsNull()
|
||||||
|
|| theSide != StepVisual_ssNegative)) //abv 30 Mar 00: trj3_s1-pe.stp
|
||||||
{
|
{
|
||||||
theSurfaceColour = aFASC->FillColour();
|
theSurfaceColour = aFASC->FillColour();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user