[Core] Fix Color transparency misinterpretation
This commit is contained in:
committed by
Chris Hennes
parent
54c9efafdb
commit
bbd59caea4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user