Skip to content

review(cli): pose --library apply — skinned-entity pick + export breadcrumb#607

Merged
fernandotonon merged 1 commit into
masterfrom
fix/cli-pose-apply-skinned-entity
May 18, 2026
Merged

review(cli): pose --library apply — skinned-entity pick + export breadcrumb#607
fernandotonon merged 1 commit into
masterfrom
fix/cli-pose-apply-skinned-entity

Conversation

@fernandotonon
Copy link
Copy Markdown
Owner

Two CodeRabbit Major findings on PR #606 (merged).

Pick first SKINNED entity, not first entity

Old code stopped at the first Entity then checked hasSkeleton. On multi-entity imports an unskinned helper (collision proxy, prop) often appears first; the apply was rejected even though a valid rigged mesh loaded later.

Fix: walk the whole entity list. Track first-seen + first-skinned separately. Two distinct error paths now: "Failed to load mesh" (no entity at all) vs "no skinned entity — cannot apply a pose".

Add file.export breadcrumb on the export write

Old code recorded the import but not the output write. Added a file.export breadcrumb naming the target path before exportCurrentPose.

🤖 Generated with Claude Code

…dcrumb

Two CodeRabbit Major findings on PR #606 (merged).

## Pick first SKINNED entity, not first entity

The entity loop stopped at the first `Entity` and then checked
`hasSkeleton()`. On multi-entity imports an unskinned helper
mesh (collision proxy, prop) often appears first; the old code
would reject the apply even though a valid rigged mesh loaded
later in the scene.

Fix: walk the whole entity list. Track the first-seen entity
(any kind) AND the first skinned one separately. Two distinct
error paths now:
- no entity at all → "Failed to load mesh"
- entities exist but none skinned → "no skinned entity — cannot
  apply a pose"

## Add file.export breadcrumb on the export write

The apply flow recorded the mesh import but not the output
write. Added a `file.export` breadcrumb naming the target path
right before `exportCurrentPose`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@fernandotonon has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 42 minutes and 26 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3ec49a5a-52d6-427e-99f0-a33bfaf00ea5

📥 Commits

Reviewing files that changed from the base of the PR and between 7bbe77a and 9ccb233.

📒 Files selected for processing (1)
  • src/CLIPipeline.cpp
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/cli-pose-apply-skinned-entity

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link
Copy Markdown

@fernandotonon fernandotonon merged commit 47a973b into master May 18, 2026
20 checks passed
@fernandotonon fernandotonon deleted the fix/cli-pose-apply-skinned-entity branch May 18, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant