mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
ifcviewer: rename SceneLoader::Entry to Model
The struct holds per-model bookkeeping; Model describes its contents rather than its container relationship. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -74,12 +74,12 @@ std::vector<uint32_t> SceneLoader::addFiles(const QStringList& paths) {
|
||||
assigned.reserve(paths.size());
|
||||
for (const auto& path : paths) {
|
||||
uint32_t id = next_model_id_++;
|
||||
Entry entry;
|
||||
entry.id = id;
|
||||
entry.file_path = path;
|
||||
entry.display_name = QFileInfo(path).fileName();
|
||||
entry.streamer = new GeometryStreamer(this);
|
||||
models_[id] = std::move(entry);
|
||||
Model model;
|
||||
model.id = id;
|
||||
model.file_path = path;
|
||||
model.display_name = QFileInfo(path).fileName();
|
||||
model.streamer = new GeometryStreamer(this);
|
||||
models_[id] = std::move(model);
|
||||
load_queue_.push_back(id);
|
||||
assigned.push_back(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user