Draft: updates related to transparency to alpha change

This commit is contained in:
Roy-043
2025-01-21 18:17:49 +01:00
committed by Yorik van Havre
parent dd4c462199
commit 2ad98aa84b
7 changed files with 25 additions and 30 deletions

View File

@@ -314,7 +314,7 @@ class AddToConstruction(gui_base.GuiCommandNeedsSelection):
if not hasattr(Gui, "draftToolBar"):
return
col = params.get_param("constructioncolor") & 0xFFFFFF00
col = params.get_param("constructioncolor") | 0x000000FF
# Get the construction group or create it if it doesn't exist
grp = self.doc.getObject("Draft_Construction")