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:
@@ -510,7 +510,7 @@ private:
|
||||
Py::Float r(t[0]);
|
||||
Py::Float g(t[1]);
|
||||
Py::Float b(t[2]);
|
||||
App::Color c(static_cast<float>(r),
|
||||
Base::Color c(static_cast<float>(r),
|
||||
static_cast<float>(g),
|
||||
static_cast<float>(b));
|
||||
colors.push_back(c.getPackedValue());
|
||||
|
||||
Reference in New Issue
Block a user