[Core] Fix Color transparency misinterpretation

This commit is contained in:
Frank Martinez
2025-04-17 19:30:17 -05:00
committed by Chris Hennes
parent 54c9efafdb
commit bbd59caea4

View File

@@ -691,7 +691,7 @@ std::map<std::string,Base::Color> ViewProviderPartExt::getElementColors(const ch
}
if(size && singleColor) {
color = ShapeAppearance.getDiffuseColor(0);
color.setTransparency(Base::fromPercent(100.0F));
color.setTransparency(Base::fromPercent(0.0F));
ret.clear();
}
ret["Face"] = color;