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

Pressing F2 while DOOMEdit is running has strange results.

TommyHanusa opened this issue Jul 19, 2020 · 3 comments

Pressing F2 while DOOMEdit is running has strange results. #300

TommyHanusa opened this issue Jul 19, 2020 · 3 comments


Copy link

TommyHanusa commented Jul 19, 2020

On Windows 10 64-bit if the "f2" key is pressed it produces strange results when DoomEdit is running.

Repro steps:

  1. Launch Dhewm3 1.5.1rc1 DOOMEdit with a shortcut using a shortcut targeted to "YOURPATH\dhewm3\dhewm3.exe" +set r_fullscreen 0 +set r_multiSamples 0 +editor

  2. Press the F2 key. There will be strange results

This can alternatively be done by clicking a specific button.

Copy link

DanielGibson commented Jul 19, 2020

Thanks for testing the editor - apparently you're the first one to do so after my minimal testing when I integrated it :-)

I'll look at them and plan to fix them before the "real" 1.5.1 release.

This particular bug looks like it's related to 5c1e1d7 which looked like this: d3-particle-edit-bug

DanielGibson added a commit that referenced this issue Jul 20, 2020
I worked around the issue for the particle editor, but now it turned out
it can also somehow happen when switching from the Radiant to the Engine
(with F2), so I implemented the "proper" fix of restoring
glConfig.vidWidth/Height, that are overwritten in
RenderSystemLocal::BeginFrame(), in RenderSystemLocal::EndFrame().
Copy link

DanielGibson commented Jul 20, 2020

I think I have a fix for this, though I couldn't always (but sometimes) reproduce this issue - it didn't always happen when switching to the engine with F2.. but OTOH I had an even worse bug (before I also fixed that): The game was frozen when starting it from the editor. Menu and Console were working, but I couldn't move ingame and neither did anything else in the level move..

Anyway, can you test the following build: ?

Thanks in advance, and thanks for the detailed reports! :)

Copy link

TommyHanusa commented Jul 21, 2020

This issue no longer reproduces in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants