Commit 889a93e3 authored by Jan Kremer's avatar Jan Kremer

Added: Brush override color in non-transparent mode

parent b3e0a613
This diff is collapsed.
......@@ -173,7 +173,21 @@ void APlot3D::BrushPoint(int32 PointIndex, bool Add)
}
else
{
Points[PointIndex].SetEnabled(!Add);
if (BrushOverridesColor)
{
if (Add)
{
Points[PointIndex].Color = BrushColor;
}
else
{
Points[PointIndex].Color = Points[PointIndex].OriginalColor;
}
}
else
{
Points[PointIndex].SetEnabled(!Add);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment