forked from 1b-agent/opencadstudio-upstream
fix(ucs): enable solid face raycasting and model hydration in UCS FACE
This commit is contained in:
1 parent
d2a4e3f8e7
commit
6840687f32
3 files changed
+32
No files matched your search
@@ -343,6 +343,7 @@ impl OpenCADStudio {
|
||||
self.tabs[i].active_cmd = Some(Box::new(picker));
|
||||
}
|
||||
Some((handle, pick)) => {
|
||||
self.tabs[i].scene.restore_solid_models(&[handle]);
|
||||
let built = self.tabs[i]
|
||||
.scene
|
||||
.solid_models
|
||||
|
||||
@@ -384,6 +384,10 @@ impl CadCommand for UcsPickCommand {
|
||||
true
|
||||
}
|
||||
|
||||
fn entity_pick_includes_fills(&self) -> bool {
|
||||
self.face
|
||||
}
|
||||
|
||||
fn entity_pick_uses_surface_point(&self) -> bool {
|
||||
self.face
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user