Added new material 'metal'
This commit is contained in:
@@ -79,6 +79,7 @@ public:
|
||||
if (focus) {pen.setColor(Qt::black);}
|
||||
if (mat == Material::CONCRETE) {;}
|
||||
if (mat == Material::GLASS) {pen.setStyle(Qt::PenStyle::DotLine);}
|
||||
if (mat == Material::METAL) {pen.setColor(QColor(50, 50, 50));}
|
||||
if (type == ObstacleType::HANDRAIL) {pen.setStyle(Qt::PenStyle::DashLine);}
|
||||
if (type == ObstacleType::UNKNOWN) {pen.setColor(Qt::red);}
|
||||
if (type == ObstacleType::PILLAR) {pen.setColor(Qt::red);}
|
||||
|
||||
@@ -30,6 +30,7 @@ QComboBox* getMaterials() {
|
||||
case Material::DRYWALL: cmbMaterial->addItem("Drywall", i); break;
|
||||
case Material::WOOD: cmbMaterial->addItem("Wood", i); break;
|
||||
case Material::GLASS: cmbMaterial->addItem("Glass", i); break;
|
||||
case Material::METAL: cmbMaterial->addItem("Metal", i); break;
|
||||
case Material::_END: throw 1;
|
||||
}
|
||||
}
|
||||
@@ -128,7 +129,6 @@ void ElementParamWidget::refresh() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// has outline method?
|
||||
{
|
||||
MMFloorOutlinePolygon* elem = dynamic_cast<MMFloorOutlinePolygon*>(el);
|
||||
|
||||
Reference in New Issue
Block a user