Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] DrawSprite() / Drawline() doesn't update when used in render() while in photo mode. #675

Open
Artex112 opened this issue Feb 15, 2025 · 1 comment
Labels
bug Something isn't working type/engine Issues related to the Game Engine

Comments

@Artex112
Copy link

Describe the bug

I found this bug while trying to solve an issue with photo mode for my mod, When DrawSprite() / DrawLine() Is called inside render everything updates properly (GetCameraTransform()) but when you enter photo mode it stops updating even though the code still gets executed and transforms updated (DebugPrint() prints updated transforms). @Thomasims tested it using DebugLine() and this one does seem to work properly unlike DrawSprite() DrawLine()

Steps to reproduce the behavior

Update a transform and apply it to DrawSprite / DrawLine / DebugLine all inside render()
Enter photo mode
DrawSprite / DrawLine should stop updating while DebugLine doesnt.

Expected behavior

DrawSprit DrawLine DebugLine and such should all update properly when used in render while in photomode.

Environment

  • Teardown Version 1.6.2
  • OS: Windows
  • GPU: Nvidia GeForce GTX 1660 Super
  • Graphics driver version: 560.94
  • CPU: Intel Core i5 9600KF

Additional context

This didnt use to be a thing, All of these functions used to update properly when called from within render when in photomode

@Artex112 Artex112 added the bug Something isn't working label Feb 15, 2025
@YuLun-bili YuLun-bili added the type/engine Issues related to the Game Engine label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working type/engine Issues related to the Game Engine
Projects
None yet
Development

No branches or pull requests

3 participants