feat(scene): integrate standard DWG data

This commit is contained in:
Hakan Seven committed 2026-07-26 22:30:14 +03:00
1 parent 731df4a725
commit eb23715605
38 files changed
+8376 -618

No files matched your search

+5 -1
View File
@@ -172,7 +172,11 @@ pub async fn open_path_with_phase(
10000,
);
};
let mut caches = crate::scene::build_derived_caches_with_progress(&doc, &cache_progress);
let mut caches = crate::scene::build_derived_caches_with_progress(
&doc,
&cache_progress,
path2.parent(),
);
caches.timings = crate::scene::OpenTimings {
parse_ms,
purge_ms,
+2
View File
@@ -106,6 +106,8 @@ pub fn parse_obj(src: &str, color: [f32; 4]) -> Option<MeshModel> {
verts_low: Vec::new(),
normals: norms,
indices,
triangle_material_handles: Vec::new(),
triangle_colors: Vec::new(),
color,
selected: false,
})