mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
Update editEntities to auto-focus on selection
This commit is contained in:
parent
346381efc9
commit
defb796c1e
1 changed files with 5 additions and 0 deletions
|
@ -669,6 +669,11 @@ function mouseClickEvent(event) {
|
||||||
|
|
||||||
print("Model selected: " + foundEntity.id);
|
print("Model selected: " + foundEntity.id);
|
||||||
selectionDisplay.select(selectedEntityID, event);
|
selectionDisplay.select(selectedEntityID, event);
|
||||||
|
|
||||||
|
|
||||||
|
cameraManager.focus(selectionManager.worldPosition,
|
||||||
|
selectionManager.worldDimensions,
|
||||||
|
Menu.isOptionChecked(MENU_EASE_ON_FOCUS));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue