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:
@@ -484,7 +484,7 @@ PyObject* ViewProviderPy::setElementColors(PyObject* args)
|
||||
if(!PyDict_Check(pyObj))
|
||||
throw Py::TypeError("Expect a dict");
|
||||
|
||||
std::map<std::string,App::Color> colors;
|
||||
std::map<std::string,Base::Color> colors;
|
||||
Py::Dict dict(pyObj);
|
||||
for(auto it=dict.begin();it!=dict.end();++it) {
|
||||
const auto &value = *it;
|
||||
|
||||
Reference in New Issue
Block a user