mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-29 13:51:06 -07:00
Tech ENABLE_RAYCAST_PICKING - Gizmo flatten: fixed update of raycasters transformations
(cherry picked from commit prusa3d/PrusaSlicer@2a2d442b28)
This commit is contained in:
parent
e4ec0cfc2e
commit
094acdb645
5 changed files with 34 additions and 26 deletions
|
|
@ -725,8 +725,9 @@ public:
|
|||
bool init();
|
||||
void post_event(wxEvent &&event);
|
||||
|
||||
std::shared_ptr<SceneRaycasterItem> add_raycaster_for_picking(SceneRaycaster::EType type, int id, const MeshRaycaster& raycaster, const Transform3d& trafo) {
|
||||
return m_scene_raycaster.add_raycaster(type, id, raycaster, trafo);
|
||||
std::shared_ptr<SceneRaycasterItem> add_raycaster_for_picking(SceneRaycaster::EType type, int id, const MeshRaycaster& raycaster,
|
||||
const Transform3d& trafo, bool use_back_faces = false) {
|
||||
return m_scene_raycaster.add_raycaster(type, id, raycaster, trafo, use_back_faces);
|
||||
}
|
||||
void remove_raycasters_for_picking(SceneRaycaster::EType type, int id) {
|
||||
m_scene_raycaster.remove_raycasters(type, id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue