-
Notifications
You must be signed in to change notification settings - Fork 224
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
Hang when changing entity classname from light to info_null #1429
Comments
I can't reproduce this on OS X. Very odd. I even tried it with the exact latest beta built that is available from the website. |
Weird, I can reproduce it 100% of the time with the beta build from the website. |
Sorry, wrong tab ;-) |
It's the A light entity has 12 rows, and info_null has 4. From what I can tell, the conversion to an info_null entity went correctly... For some reason wxWidgets is requesting a value in row 11, here's the backtrace:
|
Hmm. Might be related to lazy updates. I think I have changed the code such that it only updates on an idle event, so it's possible that wxWidgets is working with stale data in the paint handler. Still doesn't explain why it's not failing for me. |
Maybe try reproducing on a debug build? Since those assertions are not compiled into the release builds, there will be an out-of-bounds array access. So it could be failing for you, but just due to luck, not crashing. |
I did try it with a debug build. But I figured it out: wxWidgets will only ask for those lines if they are visible. But in my window layout, only the first three lines were visible ;-) |
…s when the grid wants to paint and has outdated information about the number of rows.
Fixed in bf48380. |
TrenchBroom 2.0.0 Beta Build 2f3c498 RelWithDebInfo / OS X
The text was updated successfully, but these errors were encountered: