Store color information per segment

This commit is contained in:
wmayer
2019-07-04 16:55:03 +02:00
parent 2f4b08035f
commit 4b464dfa58
3 changed files with 6 additions and 0 deletions

View File

@@ -1699,6 +1699,7 @@ void MeshObject::addSegment(const Segment& s)
{
addSegment(s.getIndices());
this->_segments.back().setName(s.getName());
this->_segments.back().setColor(s.getColor());
this->_segments.back().save(s.isSaved());
this->_segments.back()._modifykernel = s._modifykernel;
}