mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-04-06 00:32:05 +02:00
Feature/fix crash on linux when clicking assemble feature (#12739)
* fix crash on Linux when clicking Assemble gizmo
* some qol changes for dev
* Revert "some qol changes for dev"
This reverts commit ffe321370b.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -44,3 +44,4 @@ test.js
|
|||||||
/.cache/
|
/.cache/
|
||||||
.clangd
|
.clangd
|
||||||
internal_docs/
|
internal_docs/
|
||||||
|
*.flatpak
|
||||||
@@ -678,7 +678,7 @@ void GLGizmoMeasure::on_render()
|
|||||||
m_mesh_raycaster_map[m_last_hit_volume]->get_transform(), m_only_select_plane) :
|
m_mesh_raycaster_map[m_last_hit_volume]->get_transform(), m_only_select_plane) :
|
||||||
std::nullopt;
|
std::nullopt;
|
||||||
}
|
}
|
||||||
if (m_measure_mode == EMeasureMode::ONLY_ASSEMBLY) {
|
if (m_measure_mode == EMeasureMode::ONLY_ASSEMBLY && curr_feature.has_value()) {
|
||||||
if (m_assembly_mode == AssemblyMode::FACE_FACE) {
|
if (m_assembly_mode == AssemblyMode::FACE_FACE) {
|
||||||
if (curr_feature->get_type() != Measure::SurfaceFeatureType::Plane) {
|
if (curr_feature->get_type() != Measure::SurfaceFeatureType::Plane) {
|
||||||
curr_feature.reset();
|
curr_feature.reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user