2025-07-27 02:04 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005075Spring engineGeneralpublic2016-02-09 17:16
ReporterShadowfury333 
Assigned To 
PriorityhighSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version100.0+git 
Target VersionFixed in Version 
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
Attached Files

-Relationships
+Relationships

-Notes

~0015711

Anonymous (viewer)

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
+Notes

-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
+Issue History