Repository navigation
Export custom attributes for point helpers and dummies (#1140) - #1162
Merged
Merged
Conversation
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
deltakosh
approved these changes
Nov 26, 2026
deltakosh
left a comment
Contributor
There was a problem hiding this comment.
Hello @jay23606,
Reviewed head d969a644.
The exporter change is scoped and correct: point-helper fallback dummy export now attaches custom attributes metadata through the existing ExportExtraAttributes path, without changing non-helper node behavior.
No actionable findings. Approving.
Thanks!
Popov72
approved these changes
Nov 27, 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.
Fixes #1140 (part 1: point helpers / dummies / bones).
What changed: in
exportNodeRec(3ds Max/Max2Babylon/Exporter/BabylonExporter.cs), the fallback branch that creates a dummy for a relevant node now also setsmetadatafromExportExtraAttributes(maxGameNode, babylonScene). Point helpers and dummy objects reach this branch because the switch has no Helper case, so their custom attributes were never read. Meshes, lights and cameras already exported theirs and are unchanged. The fallback is used instead ofExportDummyitself so that the helper dummy created for a light with children does not duplicate the light's attributes.Not addressed: request #2 in the issue (exporting array-valued custom attributes as full arrays) is a feature request and is not part of this change.
Tests: the 3ds Max exporter has no unit test project and CI only builds with msbuild, so no regression test was added. I did not build or run the exporter here: it needs the 3ds Max SDK, Windows and a licensed 3ds Max install, and I was not asked to install dependencies. Suggested manual check: add a custom attribute to a point helper and a dummy, export glTF/Babylon, and confirm
metadatais present on the corresponding node.Tests not run here: 3ds Max exporter build (requires the 3ds Max SDK and a licensed 3ds Max install), Runtime export of a point helper with custom attributes in 3ds Max, checking metadata is present in the glTF/Babylon output, Regression check that mesh, camera, and light metadata output is unchanged, Bone custom attribute export (not implemented; BabylonBone has no metadata field, so this needs a shared-entity change)
Fixes #1140