mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 21:33:09 +02:00
When picking a color highlight only single entity in a group
This commit is contained in:
parent
78876d39b4
commit
758442999d
1 changed files with 2 additions and 2 deletions
|
@ -657,7 +657,7 @@
|
|||
selection.select(intersectedEntityID);
|
||||
if (toolSelected !== TOOL_SCALE || !otherEditor.isEditing(rootEntityID)) {
|
||||
highlights.display(intersection.handIntersected, selection.selection(),
|
||||
toolSelected === TOOL_COLOR ? selection.intersectedEntityIndex() : null,
|
||||
toolSelected === TOOL_COLOR || toolSelected === TOOL_PICK_COLOR ? selection.intersectedEntityIndex() : null,
|
||||
toolSelected === TOOL_SCALE || otherEditor.isEditing(rootEntityID)
|
||||
? highlights.SCALE_COLOR : highlights.HIGHLIGHT_COLOR);
|
||||
}
|
||||
|
@ -669,7 +669,7 @@
|
|||
selection.select(intersectedEntityID);
|
||||
if (toolSelected !== TOOL_SCALE || !otherEditor.isEditing(rootEntityID)) {
|
||||
highlights.display(intersection.handIntersected, selection.selection(),
|
||||
toolSelected === TOOL_COLOR ? selection.intersectedEntityIndex() : null,
|
||||
toolSelected === TOOL_COLOR || toolSelected === TOOL_PICK_COLOR ? selection.intersectedEntityIndex() : null,
|
||||
toolSelected === TOOL_SCALE || otherEditor.isEditing(rootEntityID)
|
||||
? highlights.SCALE_COLOR : highlights.HIGHLIGHT_COLOR);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue