for standard meshing algorithm copy color from face to segment
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user