#4617 closed defect (fixed)
Incomplete Healrange visualization circle
Reported by: | elexis | Owned by: | fatherbushido |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 22 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description (last modified by )
When training the mauryan healer hero, we can observe that it's range visualization is an incomplete circle.
It occurs with the regular healer too if the range is upgraded at the temple.
It sounds like a rounding issue in UpdateTexturedLineOverlay
of CCmpSelectable.cpp
.
See also Phab:D571
Attachments (3)
Change History (10)
by , 7 years ago
Attachment: | healrange.jpg added |
---|
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
by , 7 years ago
comment:3 by , 7 years ago
comment:4 by , 7 years ago
(The subdivision code needs some cleaning/simplification). Else the issue is just in TextureLineRData. The V coordinate is switched from 0 to 1 at each turn. But for a closed line, if we have an odd number of 'points' the last point and the first will get the same V and so even if the quad is completed, we will not see it. (One could notice there is something traced). That bug won't be noticed when there is an even number of point (which is the case for an healer without tech).
comment:7 by , 7 years ago
Component: | UI & Simulation → Core engine |
---|---|
Milestone: | Backlog → Alpha 22 |
Patch: | simple |
Priority: | Should Have → Must Have |
Thanks! It would have been really annoying for players and devs now that the bug became more apparent.
If one just draw half of the points, it seems the line won't be closed (even if we can see something when moving the healer).