rendering: formalize editor support object id boundary
This commit is contained in:
@@ -442,8 +442,8 @@ void SceneViewportController::Update(
|
||||
viewportFrame->viewportShellFrame.requestedViewportSize,
|
||||
transition.localPointerPosition);
|
||||
if (pickResult.status == ViewportObjectIdPickStatus::Success) {
|
||||
if (pickResult.entityId != 0u) {
|
||||
sceneRuntime.SetSelection(pickResult.entityId);
|
||||
if (pickResult.HasResolvedEntity()) {
|
||||
sceneRuntime.SetSelection(pickResult.resolvedEntityId);
|
||||
} else {
|
||||
sceneRuntime.ClearSelection();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user