Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

Commit e9902ae7 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

resolve MultiThread loading problems

parent c477fa1c
......@@ -27,6 +27,7 @@
#include "Topology/generic/dartmarker.h"
#include "Topology/generic/cellmarker.h"
#include "Algo/Geometry/centroid.h"
#include "Topology/generic/autoAttributeHandler.h"
namespace CGoGN
......@@ -592,13 +592,25 @@ bool GenericMap::loadMapBin(const std::string& filename)<char*>(&(m_mrNbDarts[0])), nb *sizeof(unsigned int));
// retrieve m_embeddings (from m_attribs)
// recursive call from real type of map (for topo relation attributes pointers) down to GenericMap (for Marker_cleaning & pointers)
// restore nbThreads
std::vector<std::string> typeMark;
unsigned int nbatt0 = m_attribs[0].getAttributesTypes(typeMark);
m_nbThreads = 0;
for (unsigned int i = 0; i < nbatt0; ++i)
if (typeMark[i] == "Mark")
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment