MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / addModel

Method addModel

src/Mod/Material/App/ModelManagerExternal.cpp:162–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void ModelManagerExternal::addModel(const QString& libraryName,
163 const QString& path,
164 const Model& model)
165{
166 _cache.erase(model.getUUID().toStdString());
167 ExternalManager::getManager()->addModel(libraryName, path, model);
168}
169
170void ModelManagerExternal::migrateModel(const QString& libraryName,
171 const QString& path,

Callers

nothing calls this directly

Calls 3

toStdStringMethod · 0.80
eraseMethod · 0.45
getUUIDMethod · 0.45

Tested by

no test coverage detected