[Bug] DiffuseColor not properly applied to Part::FeaturePython objects #8340
Labels
Bug
This issue or PR is related to a bug
Coding: Python
Coding issue related to Python
Color
Regarding the color handling
Core
Issue or PR touches core sections (App, Gui, Base) of FreeCAD
WB Part
Related to the Part Workbench
Is there an existing issue for this?
Forums discussion
https://forum.freecad.org/viewtopic.php?p=656201#p656201
Version
0.21 (Development)
Full version info
Subproject(s) affected?
Part
Issue description
Part::FeaturePython objects do not display the DiffuseColor assigned via Python code. You have to use a workaround to update the ViewObject.
my_box.ViewObject.DiffuseColor = my_box.ViewObject.DiffuseColor
in the Python console.Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: