(affects all versions)
Due to a single missing line of code, the following procedure will corrupt LDPEs data structure:
I assume these steps are performed on the same file and "Insert At Cursor Position" is off.
This will lead to some errors (incomplete file save, undo/redo problems, rendering issues, etc.).
It depends only on the fact that the last line was selected in the text editor.
"Toggle Comment" will work correctly on other lines.
Due to a single missing line of code, the following procedure will corrupt LDPEs data structure:
I assume these steps are performed on the same file and "Insert At Cursor Position" is off.
- Open the file in the text and the 3D editor
- Select something in the 3D editor (triangles, vertices, subfiles, ...) and copy it to the clipboard.
- Open the file in the text editor and move the cursor to the last line.
- Toggle the comment (or !TEXMAP)
- Now click in the 3D editor view
- Paste the clipboard content
This will lead to some errors (incomplete file save, undo/redo problems, rendering issues, etc.).
It depends only on the fact that the last line was selected in the text editor.
"Toggle Comment" will work correctly on other lines.