View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005269||DarkRadiant||General||public||01.06.2020 17:48||18.09.2020 03:54|
|Target Version||2.9.0||Fixed in Version||2.9.0|
|Summary||0005269: Escaped EOLN in entity spawnarg is turned into real EOLN|
|Description||The D3 engine can show text in some location, which is used only for debugging.|
The contents of such text is written in the value of "text" spawnarg of entity of "text" class.
The problem is that D3 parser forbids putting a real EOL into spawnargs, that causes a hard parsing error.
For 2.08 I have fixed the problem by turning "\n" into EOL character in the code of the text entity.
Now I can write multiline text labels by using "\n" in the text string.
The problem is that when I open such a map in DR and then save it back, every "\n" in spawnarg value is turned into actual EOL character, making the map unparsable.
I wonder if it can be fixed easily?...
|Steps To Reproduce||Download the FM attached to wiki page about "particle collision":|
It is also committed to the assets SVN repo of TDM.
Open it in DR, then save it.
Now either try to dmap it or simply search for "\n" in the .map file.
|Tags||No tags attached.|
|01.06.2020 17:48||stgatilov||New Issue|
|01.06.2020 17:48||stgatilov||Steps to Reproduce Updated||View Revisions|
|01.06.2020 19:25||greebo||Status||new => acknowledged|
|17.09.2020 18:30||greebo||Status||acknowledged => confirmed|
|18.09.2020 03:53||greebo||Changeset attached||=> DarkRadiant master 28c763f9|
|18.09.2020 03:54||greebo||Assigned To||=> greebo|
|18.09.2020 03:54||greebo||Status||confirmed => assigned|
|18.09.2020 03:54||greebo||Target Version||=> 2.9.0|
|18.09.2020 03:54||greebo||Status||assigned => resolved|
|18.09.2020 03:54||greebo||Resolution||open => fixed|
|18.09.2020 03:54||greebo||Fixed in Version||=> 2.9.0|
|18.09.2020 03:54||greebo||Note Added: 0012778|