#2573 closed defect (fixed)
Warnings flood when playing with the camera
Reported by: | serveurix | Owned by: | wraitii |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 17 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
On many maps when I play with the camera (mostly when I deactivate "restrict camera" in the dev overlay and go over an area of a different altitude), the screen is filled up with "warning: SpatialSubdivision Query too large. Results truncated." This is particularly annoying since you can't prevent those messages to be displayed, and, you know, when you play with the camera, usually it's to take captures...
One simple way to reproduce this bug is to choose the first acropolis skrimish map, reveal the map, unrestrict the camera, and move to the center of the map.
Attachments (1)
Change History (10)
follow-up: 2 comment:1 by , 10 years ago
comment:2 by , 10 years ago
follow-up: 5 comment:3 by , 10 years ago
comment:4 by , 10 years ago
These are because of r14532 which starts requesting two times more data from SpatialSubdivision if the camera is unlocked. (See session.xml changes)
comment:5 by , 10 years ago
Replying to leper:
No, this is not related to JS at all. It occurs because r13854 introduced a fixed limit for SpatialSubdivision queries, and even though r13888 bumped that fixed limit #2340 is still a better solution to that IMO.
Can today be the day someone reverts them? Hopefully there wouldn't be too many conflicts. It should have been done for A16.
by , 10 years ago
Attachment: | 0001-Revert-r13854-spatial-subdivision-optimisations.patch added |
---|
comment:6 by , 10 years ago
Something like that? (Just did a revert and fixed the conflicts in the obvious ways. Not tested much, and not tested performance at all.)
IIRC this is related to #2430.