src/documentmanager.cpp

changeset 35
98906a94732f
parent 24
1a0faaaceb84
child 140
2f383e88acf4
equal deleted inserted replaced
34:1de2b8d64e9f 35:98906a94732f
159 }; 159 };
160 processed.append(modelName); 160 processed.append(modelName);
161 Model* model = this->findModelByName(modelName); 161 Model* model = this->findModelByName(modelName);
162 for (int i = 0; i < model->size(); i += 1) 162 for (int i = 0; i < model->size(); i += 1)
163 { 163 {
164 const QString referenceName = model->getObjectProperty(i, linetypes::Property::ReferenceName).toString(); 164 const QString referenceName = model->getObjectProperty(i, ldraw::Property::ReferenceName).toString();
165 if (not referenceName.isEmpty() 165 if (not referenceName.isEmpty()
166 and openModels.find(referenceName) == std::end(openModels) 166 and openModels.find(referenceName) == std::end(openModels)
167 and not missing.contains(referenceName)) 167 and not missing.contains(referenceName))
168 { 168 {
169 try 169 try

mercurial