From 96857e44ed6db307c0d658cebfe0aa5e93f25c2d Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Tue, 17 Oct 2017 15:11:45 +0200 Subject: [PATCH] fix multicolor Surface_mesh --- .../demo/Polyhedron/Plugins/PMP/Isotropic_remeshing_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyhedron/demo/Polyhedron/Plugins/PMP/Isotropic_remeshing_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/PMP/Isotropic_remeshing_plugin.cpp index aec9867409c..afb5ea4213a 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/PMP/Isotropic_remeshing_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/PMP/Isotropic_remeshing_plugin.cpp @@ -467,7 +467,7 @@ public Q_SLOTS: #ifdef USE_SURFACE_MESH selection_item->polyhedron_item()->setColor( selection_item->polyhedron_item()->color()); - selection_item->polyhedron_item()->setItemIsMulticolor(false); + selection_item->polyhedron_item()->setItemIsMulticolor(fpmap_valid); selection_item->polyhedron_item()->polyhedron()->collect_garbage(); #else if(!selection_item->polyhedron_item()->isItemMulticolor())