committed by
Benjamin Nauck
parent
acd40ce725
commit
2aba9a86ce
@@ -80,10 +80,9 @@ void QGIEdge::setPrettyNormal() {
|
||||
// Base::Console().Message("QGIE::setPrettyNormal()\n");
|
||||
if (isHiddenEdge) {
|
||||
m_pen.setColor(getHiddenColor());
|
||||
} else {
|
||||
m_pen.setColor(getNormalColor());
|
||||
return;
|
||||
}
|
||||
//should call QGIPP::setPrettyNormal()?
|
||||
QGIPrimPath::setPrettyNormal();
|
||||
}
|
||||
|
||||
QColor QGIEdge::getHiddenColor()
|
||||
|
||||
@@ -313,9 +313,8 @@ void TaskCenterLine::onColorChanged()
|
||||
return;
|
||||
}
|
||||
|
||||
Base::Color ac;
|
||||
ac.setValue<QColor>(ui->cpLineColor->color());
|
||||
m_cl->m_format.getColor().setValue<QColor>(ui->cpLineColor->color());
|
||||
Base::Color color = Base::Color::fromValue<QColor>(ui->cpLineColor->color());
|
||||
m_cl->m_format.setColor(color);
|
||||
m_partFeat->recomputeFeature();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user