[Bugfix] Entity3D.viewport returns None instead of parent Viewport3D #244
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
john/McRogueFace#244
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
After adding an
Entity3Dto aViewport3D's entity collection, readingentity.viewportreturnsNoneinstead of a reference to the owning viewport.Reproduction
Expected Behavior
entity.viewportshould return theViewport3Dthat owns this entity, similar to how 2D entities can reference their parent grid.Impact
Cannot navigate from an entity back to its viewport for operations like pathfinding or FOV from entity context. Workaround: keep a separate reference to the viewport.
Found during village integration demo development.