View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005075 | Spring engine | General | public | 2016-02-09 16:22 | 2016-02-09 17:16 |
| Reporter | Shadowfury333 | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 100.0+git | ||||
| Summary | 0005075: SetCameraState function clobbers screen-space drawing | ||||
| Description | If Spring.SetCameraState() is called anywhere other widgets are doing screen-space drawing, the game will redirect that drawing to a billboard on the north-west edge of the map, stretching east from the north-west corner. | ||||
| Steps To Reproduce | Zero-K's COFC widget currently exhibits this behaviour in stable 1.4.2.7, but it can be reproduced by taking any widget and using Spring.SetCameraState inside widget:DrawScreen (will break Chili UI) or widget:DrawScreenEffects, since that's where most screen drawing is done. | ||||
| Additional Information | http://imgur.com/a/qHpwZ for screenshots, since there are a few. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
Fix c033f79b0d6a834883dfe800adc1f199b8ac8cad committed to develop branch: fix 0005075 do not start camera transitions in Lua-invoked CameraHandler::SetState (*gets can already implement smooth transitioning themselves, a callout would count as "nice to have") so it can be safely called in DrawScreen, repo: spring changeset id: 6588 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-02-09 16:22 | Shadowfury333 | New Issue | |
| 2016-02-09 17:16 | Changeset attached | => spring develop c033f79b | |
| 2016-02-09 17:16 | Anonymous | Note Added: 0015711 | |
| 2016-02-09 17:16 | Anonymous | Status | new => resolved |
| 2016-02-09 17:16 | Anonymous | Resolution | open => fixed |