Skip to content

Commit

Permalink
for standard meshing algorithm copy color from face to segment
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jul 4, 2019
1 parent 830ddc7 commit 9152ca7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Mod/MeshPart/App/Mesher.cpp
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 9152ca7

Please sign in to comment.