mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
We should copy middle texture to upper/lower parts regardless of whether they are actually required when AutoClearSidedefTextures is disabled, I suppose (aaaaand there was a logic error there).
This commit is contained in:
parent
a91c0b9cd2
commit
c561617704
1 changed files with 2 additions and 2 deletions
|
@ -358,7 +358,7 @@ namespace CodeImp.DoomBuilder.Map
|
|||
internal void ShiftTextures() {
|
||||
BeforePropsChange();
|
||||
|
||||
if(string.IsNullOrEmpty(texnamehigh) || texnamehigh == "-" && HighRequired()) {
|
||||
if((string.IsNullOrEmpty(texnamehigh) || texnamehigh == "-") && (!General.Settings.AutoClearSidedefTextures || HighRequired())) {
|
||||
if(General.Map.Options.OverrideTopTexture) {
|
||||
texnamehigh = General.Map.Options.DefaultTopTexture;
|
||||
longtexnamehigh = Lump.MakeLongName(texnamehigh);
|
||||
|
@ -368,7 +368,7 @@ namespace CodeImp.DoomBuilder.Map
|
|||
}
|
||||
}
|
||||
|
||||
if(string.IsNullOrEmpty(texnamelow) || texnamelow == "-" && LowRequired()) {
|
||||
if((string.IsNullOrEmpty(texnamelow) || texnamelow == "-") && (!General.Settings.AutoClearSidedefTextures || LowRequired())) {
|
||||
if(General.Map.Options.OverrideBottomTexture) {
|
||||
texnamelow = General.Map.Options.DefaultBottomTexture;
|
||||
longtexnamelow = Lump.MakeLongName(texnamelow);
|
||||
|
|
Loading…
Reference in a new issue