Repository navigation
CI validation: final em034 Lady runtime head - #114
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7566c0c278
ℹ️ 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".
| if (!part.placement.resolved) return false; | ||
| part.placement.mode = CompositePlacementMode::HostJoint; | ||
| binding.control_domain = domain; |
There was a problem hiding this comment.
Preserve the component root before releasing slot 20
When a raw or scripted PAC-slot-11 motion switches Lady component 0 into the independent domain, this only changes the placement mode. Its root_matrix remains the identity matrix left by source-coordinate composition, although load_motion() later uses that matrix to place the independently animated part. Consequently slot 20 snaps from its resolved body-joint placement to the actor origin as soon as its three-node MOT starts; capture the current attachment root in root_matrix before changing the mode.
Useful? React with 👍 / 👎.
| Session::MotionScriptRole role = Session::MotionScriptRole::Primary; | ||
| const bool lady_archive = | ||
| archive_name.find("em034") != std::string_view::npos; |
There was a problem hiding this comment.
Normalize CEm034 archive names before special-case routing
For an archive named EM034.PAC or with any other casing, archive_variants() still recognizes and assembles the Lady appearance because its comparison is case-insensitive, but this case-sensitive check classifies slots 12 and 13 as generic scripts. The other new find("em034") gates likewise skip latent dynamic visuals and raw component handling, so the assembled session loses the Lady runtime and slot-11 motions can be pruned. Normalize the basename once or reuse the case-insensitive archive identity already established by variant selection.
Useful? React with 👍 / 👎.
| const Mesh& presented = | ||
| prepared.dynamic_presentation | ||
| ? prepared.presentation_mesh | ||
| : session->render_mesh; | ||
| return render_view(presented, prepared.width, prepared.height, prepared.view, |
There was a problem hiding this comment.
Pick against the same mesh that is rendered
When a Lady dynamic visual is active, rendering now uses prepared.presentation_mesh, but pick_session() still passes session->render_mesh to pick_view() at line 1267. A tap on a visible Shl02/Shl03 mesh therefore reports no model (or a base model behind it); in particular, DmcRenderView.java:179 rejects such a hit and the tap-to-pause gesture fails. Use the same selected presentation mesh for rendering and picking.
Useful? React with 👍 / 👎.
Temporary validation only. Do not merge. Exact Lady head 7566c0c. PR #104 remains DRAFT and is the only device-acceptance PR.