beam: avoid point cloud highlight masking

This commit is contained in:
CODEX
2026-06-05 00:03:31 +03:00
parent 0a09296022
commit ff994e705d
3 changed files with 20 additions and 5 deletions
+5 -1
View File
@@ -441,6 +441,8 @@ const getBaseEdgesForModel = (modelId) => {
return !!toggleEdges?.checked;
};
const isPointCloudModel = (modelId) => modelTypes[modelId] === "las";
const applyDisplayModeToModel = (modelId) => {
const model = sceneModels[modelId] || viewer?.scene?.models?.[modelId];
if (!model) return;
@@ -1323,7 +1325,9 @@ const setSelection = (ids, modelId) => {
};
activeTransformTarget = { modelId, objectId: uniqueIds[0] || "__model__" };
scene.setObjectsHighlighted(scene.highlightedObjectIds || [], false);
scene.setObjectsHighlighted(uniqueIds, true);
if (!isPointCloudModel(modelId)) {
scene.setObjectsHighlighted(uniqueIds, true);
}
updateTransformInputs(transform);
// Global center for group
updateGlobalInputs(centerFromAABB(aabb));