Plat 11963 modular instances dont move - #73
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Fixes PLAT-11963 by ensuring modular-part transform edits propagate to instanced-mesh children, and updates Blue exposure so EveChildPartData chains to its base (avoiding missing name complaints).
Changes:
- Update
EveModularObjectModifier::SetTransform()to also update transforms forEveChildInstancedMeshesinstances with the editedpartTag. - Add utilities to
EveInstancedMeshManager::StaticPerInstanceData(SetTransform()/ToMatrix()) and refactor instanced-mesh code to use them. - Add a Blue-exposed Python API
GetInstancesTransforms(meshId)for inspecting per-instance SRT transforms.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
trinity/Eve/SpaceObject/Children/EveModularObjectModifier.cpp |
Propagates part transform changes into instanced mesh instances. |
trinity/Eve/SpaceObject/Children/EveChildPartData_Blue.cpp |
Chains Blue exposure to EveSpaceObjectChild to inherit base attributes (e.g., name). |
trinity/Eve/SpaceObject/Children/EveChildInstancedMeshes.h |
Declares new instance-transform setter and Python inspection API. |
trinity/Eve/SpaceObject/Children/EveChildInstancedMeshes.cpp |
Implements partTag-based instance transform updates; adds transform inspection; refactors matrix handling. |
trinity/Eve/SpaceObject/Children/EveChildInstancedMeshes_Blue.cpp |
Exposes GetInstancesTransforms to Blue/Python. |
trinity/Eve/EveInstancedMeshManager.h |
Adds StaticPerInstanceData helpers for transform conversion. |
trinity/Eve/EveInstancedMeshManager.cpp |
Implements StaticPerInstanceData::SetTransform() and ToMatrix(). |
Suppressed comments (1)
trinity/Eve/SpaceObject/Children/EveChildInstancedMeshes.cpp:1078
wtis declared but no longer used after switching toToMatrix(), which will trigger an unused-variable warning (and can break builds if warnings are treated as errors). Remove the variable.
const auto& wt = mesh.instances[i].worldTransform;
OverlayInstancePod& pod = ( *mesh.overlayPods )[i];
Matrix local = mesh.instances[i].ToMatrix();
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
filipppavlov
previously approved these changes
Aug 27, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Ikreb1
force-pushed
the
PLAT-11963-modular-instances-dont-move
branch
from
August 28, 2026 15:46
e281f4f to
4d1835e
Compare
CCPNobody
approved these changes
Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix for https://fenriscreations.atlassian.net/browse/PLAT-11963 which forgot to move the instances
also snuck in evechildpartdata chaining to the root object so graphite doesnt complain about missing name attribute