beam: avoid point cloud highlight masking
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user