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

Fix some more papercuts #369

Merged
merged 12 commits into from Dec 20, 2015
Merged

Fix some more papercuts #369

merged 12 commits into from Dec 20, 2015

Conversation

eevee
Copy link
Collaborator

@eevee eevee commented Dec 20, 2015

Some more small, mostly-independent things. Also includes a possible fix for the crash in #366.

eevee added 12 commits Dec 20, 2015
Changing a wall's light level when light levels are unlinked now changes
the light of the wall, rather than the sector.

3D mode also now renders light levels on walls correctly.
Otherwise some ZDoom effects, like unlinked light levels, are just
quietly ignored!
This functionality already existed, but wasn't being used.
Look at these incredible benefits:

- Switch to sector mode, then 3D mode.  Shift-click to mass-select an
  area.  Switch out of 3D mode, and keep the selection!

- Switch to sector mode.  Select some sectors that have very fine
  geometry.  Switch to line mode, and operate on the outline with ease!
This should make `ArgsPanel::getArgValue` no longer crash when the
controls haven't yet been set up.

It also cleans up some of the code around `ArgsPanel::setup`, which
should avoid the situation that caused the crash in the first place.
I sometimes stumble over having a selection when I think I don't, so
hopefully a subtle persistent reminder will help.
The key was correctly recognized, but it was changing panning rather
than scale!
This fixes awkward problems like trying to paste a 3x3 room and finding
that it won't paste aligned to the grid, because the center is what
snaps.  The new behavior matches how regular movement works.
Gaerzi added a commit that referenced this pull request Dec 20, 2015
@Gaerzi Gaerzi merged commit f45a12e into sirjuddington:3.1.1 Dec 20, 2015
@eevee eevee deleted the more-papercuts branch Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants