mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Added: when "sidedefcompressionignoresaction" property is set to false, sidedefs, which belong to a line with a non-zero action or tag, will be skipped when compressing sidedefs.
This commit is contained in:
parent
0bb92f99cb
commit
6c7cf6d432
2 changed files with 4 additions and 4 deletions
|
@ -151,8 +151,8 @@ defaultskytextures
|
|||
Default value is <b>false</b>.<br />
|
||||
<br />
|
||||
<b class="fat">sidedefcompressionignoresaction</b> (boolean) - <span class="red">GZDB only</span>.<br />
|
||||
When set to true, sidedefs will be compressed regardless of linedef action (DB2 behaviour, can potentially cause problems when target source port doesn't decompress sidedefs).<br />
|
||||
When set to false, sidedefs, which belong to a line with an action, will be skipped when compressing sidedefs.<br />
|
||||
When set to true, sidedefs will be compressed regardless of linedef action or tag(s) (DB2 behaviour, can potentially cause problems when target source port doesn't decompress sidedefs).<br />
|
||||
When set to false, sidedefs, which belong to a line with an action or non-zero tag(s), will be skipped when compressing sidedefs.<br />
|
||||
Default value is <b>false</b>.<br />
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -3211,8 +3211,8 @@ namespace CodeImp.DoomBuilder.Map
|
|||
Sidedef stored = null;
|
||||
Sidedef snsd = sidedefs[sn];
|
||||
|
||||
//mxd. Skip sidedef if it belongs to a linedef with an action?
|
||||
if(!General.Map.Config.SidedefCompressionIgnoresAction && snsd.Line.Action != 0)
|
||||
//mxd. Skip sidedef if it belongs to a linedef with an action or tag?
|
||||
if(!General.Map.Config.SidedefCompressionIgnoresAction && (snsd.Line.Action != 0 || snsd.Line.Tag != 0))
|
||||
{
|
||||
// Next!
|
||||
sn++;
|
||||
|
|
Loading…
Reference in a new issue