Open berberic2 opened 1 week ago
Wow this is so strange. An alpha value of 0xFF should be fully opaque (in all standards that I know of) why is it opposite in freecad?
I have DefaultFastenerColorActive
set since at least June and I’m quite sure it worked until recently.
DefaultFastenerColor
had a value of 0xE6E6FAFF
then (in user.cfg).
I KNOW it used to work before. So something must have changed. Anyway at least your change seems to be backward compatible
If DefaultFastenerColor is set in the preferences, the created screw has the property Transparency set to 100 %. Only the lines are visible.
The problem is that
FSParam.GetUnsigned("DefaultFastenerColor", 0xcccccc00)
returns a value with the lowest 8 bits set to 1 (0x??????FF), so having an alpha Value of 0xFF. It is not possible to set the alpha-value in the color-selection-dialog.workaround: