Skip to content

Conversation

@chase102496
Copy link

@chase102496 chase102496 commented Nov 20, 2025

Just a follow-up to PR #76 where Logger was changed to CustomLogger

This is a fix for #78

Had to do with the change of duplication in 4.5.

When a node has is_leaf = true BUT also has child_nodes, the OctreeLeaf thinks it should manage instances, but the node is actually supposed to delegate to children. This creates the desync.

In mmi_octree_node.gd, in restore_after_load(), I forced recalculation of is_leaf based on actual state instead of assuming it. It's not performant, but it works for 4.5 testing on a full game (where I have tons and tons of meshes and scenes)

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.

2 participants