mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-30 08:32:00 +00:00
Visual mode: "Reset Texture Offsets" now resets "global" texture offsets in all map formats.
Visual mode: added "Reset Local Texture Offsets (UDMF)" action (default key is Ctrl-Shift-R). It will reset upper/middle/lower texture offsets in UDMF and will act exactly as "Reset Texture Offsets" action in other map formats.
This commit is contained in:
parent
3f66656b3b
commit
0c1c44c14b
10 changed files with 58 additions and 9 deletions
|
@ -2456,6 +2456,14 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
PostAction();
|
||||
}
|
||||
|
||||
[BeginAction("resettextureudmf")]
|
||||
public void ResetLocalOffsets() {
|
||||
PreAction(UndoGroup.None);
|
||||
List<IVisualEventReceiver> objs = GetSelectedObjects(true, true, false, false);
|
||||
foreach(IVisualEventReceiver i in objs) i.OnResetLocalTextureOffset();
|
||||
PostAction();
|
||||
}
|
||||
|
||||
[BeginAction("floodfilltextures")]
|
||||
public void FloodfillTextures()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue