fix: address Scene3D inspector and bounds follow-up fixes #5246
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.50) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 564 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.379
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #5246"
general
weight: 0.35
greptile-apps[bot]
!1. What changes & why
!2. What to check
Fixed issues / References
<details><summary>Full description</summary>
Description
Follow-up fixes for the last round of review feedback on #5238 in
Beutl.AgentToolkit:Scene3Dtransform details: Carry evaluatedAlignmentX,AlignmentY, andUserTransformonScene3DInspector.Scene3DPlacementsoMeasureNestedScene3Dreports transform metadata from the same evaluatedScene3D.Resource(e.g., when wrapped inDrawableTimeController) rather than re-evaluating at the outer scene clock.ClipTransitionPresenter.Resource.Fromand.ToinContainsScene3DandCollectEvaluatedScene3Dsso activeScene3Dinstances inside clip transitions are recognized and evaluated with their portal inputs.CanElementFeedScene3Dconservatively when aScene3D's element has an enabledPortalObject, allowingIsObject3DConsumedAtTimeto probe multi-hop chains (such asZ10 -> Z11 -> Z12) whentimeSecondsis omitted.denom != 0f && float.IsFinite(denom)) inClipPolygonAgainstPlaneso tiny orthographic triangles straddling a frustum plane are not misclassified asoutside-frustum.relative + sceneStartinsideScene3DTools.ParseTimeandQueryTools.ParseMeasurementTimeso near-maxtimeSecondsvalues with nonzeroscene.StartreturnValidationRejectedinstead ofinternal_error.Model3Dscale (Vector3(1)) and OBJ Y-flip in the corner-triangle test with explicit projected-bounds overlap assertions, set a non-zero backingCount.Value = 6in the expression-portal test, and add regression tests for remapped nestedScene3Dtransforms, multi-hop portals, and absolute time overflow.Screenshots / Render output
None
Affected areas
Beutl.Engine(rendering / scene / track)Beutl.ProjectSystem(project / document persistence)Beutl.Editor,Beutl.Editor.Components,Beutl.Controls)Beutl.Extensibility(plugin abstractions)Beutl.NodeGraph(node editor)Beutl.FFmpegIpc/Beutl.FFmpegWorker(media IPC boundary)Beutl.Api(server API client)(Scoped to
Beutl.AgentToolkitandBeutl.AgentToolkit.Tests.)Breaking changes
None
Raises the format floor?
No
Test plan
tests/Beutl.AgentToolkit.Tests/Tools/Scene3DToolsTests.cs:-
MeasureObjectBounds_skips_empty_expression_portal_and_pre_scene_start_overlaps(non-zero backingCount.Value = 6overridden by expression"0")-
ReadScene3D_classifies_diagonal_triangle_outside_viewport_corner_as_outside_frustum(Scale = (1,1,1), OBJ Y-flip, and projected viewport overlap assertion)-
MeasureObjectBounds_reports_evaluated_transform_for_time_remapped_nested_scene3d-
MeasureObjectBounds_probes_indirect_multi_hop_portal_chain-
Scene3D_and_bounds_tools_reject_absolute_time_overflow_with_nonzero_scene_startdotnet formatonBeutl.AgentToolkitandBeutl.AgentToolkit.Tests(0 changes).dotnet test tests/Beutl.AgentToolkit.Tests/Beutl.AgentToolkit.Tests.csproj --no-restore --filter "FullyQualifiedName~Scene3DToolsTests|FullyQualifiedName~SchemaGenerationTests|FullyQualifiedName~ToolSurfaceTests|FullyQualifiedName~MeasureObjectBounds": 75 passed, 0 failed.</details>
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Scene measurements now use the scene’s start time when no time is specified and reject times that exceed the supported timeline range.
Bounds for nested scenes now reflect evaluated transforms, alignment, and enabled state.
Scene bounds account for Push, Slide, and Zoom transitions, and measurements can follow indirect portal chains.
* Improved clipping calculations for projected scene bounds.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->