View Issue Details

IDProjectCategoryView StatusLast Update
0005075Spring engineGeneralpublic2016-02-09 17:16
ReporterShadowfury333 Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version100.0+git 
Summary0005075: SetCameraState function clobbers screen-space drawing
DescriptionIf 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 ReproduceZero-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 Informationhttp://imgur.com/a/qHpwZ for screenshots, since there are a few.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Anonymous

2016-02-09 17:16

viewer   ~0015711

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

Issue History

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