Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as one that does not. Moving it to Base opens possibilities to integrate it better with the rest of FreeCAD.
This commit is contained in:
@@ -152,7 +152,7 @@ bool ViewProviderViewSection::doubleClicked()
|
||||
|
||||
void ViewProviderViewSection::getParameters()
|
||||
{
|
||||
App::Color cutColor = App::Color((uint32_t) Preferences::getPreferenceGroup("Colors")->GetUnsigned("CutSurfaceColor", 0xD3D3D3FF));
|
||||
Base::Color cutColor = Base::Color((uint32_t) Preferences::getPreferenceGroup("Colors")->GetUnsigned("CutSurfaceColor", 0xD3D3D3FF));
|
||||
CutSurfaceColor.setValue(cutColor);
|
||||
|
||||
double lineWeight = Preferences::getPreferenceGroup("PAT")->GetFloat("GeomWeight", 0.1);
|
||||
|
||||
Reference in New Issue
Block a user