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:
@@ -165,7 +165,7 @@ bool TaskSelectLineAttributes::accept()
|
||||
}
|
||||
|
||||
QColor qTemp = ui->cbColor->color();
|
||||
App::Color temp;
|
||||
Base::Color temp;
|
||||
temp.set(qTemp.redF(), qTemp.greenF(), qTemp.blueF(), 1.0 - qTemp.alphaF());
|
||||
LineFormat::getCurrentLineFormat().setColor(temp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user