mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-31 09:01:22 +00:00
Changed, Thing and Linedef Edit Forms, script selector drop-downs: scripts from include files are now shown using different color and after the map scripts.
Fixed, Visual mode, UDMF: sector geometry cache was not updated after using "Match Brightness" and "Change Brightness" actions on ceilings, so the changes made by them were not visible when using Classic modes in "View Ceiling Textures" mode. Fixed, Visual mode, UDMF: "Match Brightness" and "Change Brightness" actions set brightness incorrectly in some cases. Fixed: ACS script names gathering logic was unable to process relative #include and #import paths (like '#import "..\acs\qtilt.acs"'). Updated ZDoom_DECORATE.cfg.
This commit is contained in:
parent
386b74d2ba
commit
c07df8f596
19 changed files with 132 additions and 73 deletions
|
@ -1798,6 +1798,9 @@ namespace CodeImp.DoomBuilder.Data
|
|||
//mxd
|
||||
internal MemoryStream LoadFile(string name)
|
||||
{
|
||||
//relative path?
|
||||
if(name.StartsWith("..\\")) name = name.Replace("..\\", "");
|
||||
|
||||
foreach (DataReader dr in containers)
|
||||
if (dr.FileExists(name)) return dr.LoadFile(name);
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue