Repository navigation
Validation: em034 Lady canonical runtime gate - #110
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 474de7e9f9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // the generic motion player correctly treats the part as host-driven | ||
| // and refuses to animate it independently. | ||
| if (!part.placement.resolved) return false; | ||
| part.placement.mode = CompositePlacementMode::HostJoint; |
There was a problem hiding this comment.
Preserve the component transform before independent playback
When a raw slot-11 MOT or the slot-13 MotionScript switches Lady component 0 into the independent domain, this only changes the placement mode; attach_part_skeleton() never updates placement.root_matrix, so it remains the identity matrix. load_motion() subsequently uses that matrix as the animated part's placement, causing the weapon component to jump from its resolved body attachment to the scene origin instead of freezing and animating at its current world transform.
Useful? React with 👍 / 👎.
| const bool lady_archive = | ||
| archive_name.find("em034") != std::string_view::npos; |
There was a problem hiding this comment.
Normalize the archive name before identifying Lady
When the provider reports an uppercase or mixed-case filename such as EM034.PAC, archive_variants() still recognizes it and assembles the Lady appearance because that classifier is case-insensitive, but this check classifies slots 12/13 as generic Primary scripts. The other new find("em034") gates likewise skip dynamic visuals and the runtime bridge, so the same valid archive loses the canonical Lady behavior solely due to filename casing; use the existing normalized stem logic or an exact case-insensitive comparison.
Useful? React with 👍 / 👎.
Validation-only PR for exact-head CI. Do not merge. Main Lady PR #104 remains draft until physical Android acceptance. This PR exists only to trigger the ready_for_review candidate gate against the same source head.