Skip to content

Commit

Permalink
Update jupytercad_freecad/freecad/loader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arjxn-py authored Sep 18, 2024
1 parent c97da95 commit a4ef2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupytercad_freecad/freecad/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _guidata_to_options(guidata):

# Handle FreeCAD's ShapeColor property and map to JupyterCad's color
if "ShapeColor" in data:
obj_options["color"] = list(data["ShapeColor"]["value"]) # RGB color format
obj_options["color"] = list(data["ShapeColor"]["value"])

# Handle FreeCAD's Visibility property and map to JupyterCad's visible property
if "Visibility" in data:
Expand Down

0 comments on commit a4ef2f7

Please sign in to comment.