for standard meshing algorithm copy color from face to segment

This commit is contained in:
wmayer
2019-07-04 16:57:08 +02:00
parent 128b45a6e8
commit 2e5283c693

View File

@@ -305,6 +305,9 @@ Mesh::MeshObject* Mesher::createMesh() const
std::stringstream str;
str << "patch" << index++;
segm.setName(str.str());
App::Color col;
col.setPackedValue(it.first);
segm.setColor(col.asHexString());
meshdata->addSegment(segm);
}
}