Draft: Fixed bug in WorkingPlaneProxy color

This commit is contained in:
Yorik van Havre
2018-08-30 17:11:40 -03:00
parent 7072468e41
commit 4caca90737

View File

@@ -6740,7 +6740,8 @@ class ViewProviderWorkingPlaneProxy:
vobj.ArrowSize = 5
vobj.Transparency = 70
vobj.LineWidth = 1
vobj.LineColor = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Arch").GetUnsigned("ColorHelpers",674321151)
c = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Arch").GetUnsigned("ColorHelpers",674321151)
vobj.LineColor = (float((c>>24)&0xFF)/255.0,float((c>>16)&0xFF)/255.0,float((c>>8)&0xFF)/255.0,0.0)
vobj.Proxy = self
def getIcon(self):