| 257 | } |
| 258 | |
| 259 | void prepareNamesForImport(const scene::IMapRootNodePtr& targetRoot, const scene::INodePtr& foreignRoot) |
| 260 | { |
| 261 | const auto& nspace = targetRoot->getNamespace(); |
| 262 | |
| 263 | if (nspace) |
| 264 | { |
| 265 | // Prepare all names, but do not import them into the namespace. This |
| 266 | // will happen when nodes are added to the target root later by the caller. |
| 267 | nspace->ensureNoConflicts(foreignRoot); |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | MapFormatPtr determineMapFormat(std::istream& stream, const std::string& type) |
| 272 | { |
no test coverage detected