mirror of https://github.com/CGAL/cgal
Updated scene mesh creation
The color is initialized to the base item's color.
This commit is contained in:
parent
6f8116c4d5
commit
c059ee5be3
|
|
@ -1037,7 +1037,7 @@ treat_result(Scene_item& source_item,
|
|||
float((bbox.ymin() + bbox.ymax())/2.f),
|
||||
float((bbox.zmin() + bbox.zmax())/2.f));
|
||||
|
||||
result_item->setColor(default_mesh_color);
|
||||
result_item->setColor(source_item.color());
|
||||
result_item->setRenderingMode(source_item.renderingMode());
|
||||
result_item->set_data_item(&source_item);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue