LDraw.org Discussion Forums
[LDPartEditor] 0.8.4 Beta Released - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: Parts Author Tools (https://forums.ldraw.org/forum-24.html)
+--- Thread: [LDPartEditor] 0.8.4 Beta Released (/thread-18260.html)

Pages: 1 2 3 4 5


Re: 0.8.4c Beta FAQ - Gerald Lasser - 2016-02-23

I really like JC's tutorials. At least Mr. Google can be used as a starting point. Shall we start to add this to the wiki?


Critical Bug regarding !HISTORY Meta-Commands - Nils Schmidt - 2016-02-24

Hello,

with a little help from Willy Tschager, I discovered a critical issue regarding the parser for the !HISTORY meta command.
This affects any LDPartEditor version up to 0.8.4c. Just delete the trailing chars (and at least one more) after "0 !HISTORY YYYY-MM-DD".

An example: Transform this line
Code:
0 !HISTORY 1998-05-21 [PTadmin] Official Update 1998-05
into
Code:
0 !HISTORY 1998-05-2
and the error will silently occur. As a result, LDPE won't open the file anymore and some other strange things can happen.
Code:
0 !HISTORY Foo
will lead to the same issue, since the correct format is 0 !HISTORY YYYY-MM-DD
But what happened here? Under the hood an index-out-of-bound-exception was thrown. The parser tried to evaluate a full history String object, but the end index from the method String.substring(startIndex, endIndex) was larger than the length of this String object.
I will fix it with the release of version 0.8.5 Beta...


Re: 0.8.4c Beta FAQ - Willy Tschager - 2016-02-24

Great idea!

w.


Re: 0.8.4c Beta FAQ - Gerald Lasser - 2016-02-24

I cannot use the LDRAW login for the wiki? Do I need a separate one?


Re: 0.8.4c Beta FAQ - Orion Pobursky - 2016-02-25

Yes


Re: [LDPartEditor] 0.8.4 > Issue > Sync Edit - Gerald Lasser - 2016-02-25

A minor issue of concern if you don't know it...

When doing a Sync Edit in the Test-Window and you select a part of a vertex e.g. "12345 " of "11.12345" and you delete or type anything instead e.g. "1", the cursor will remain there were the "5" was. When you are not aware of this behavior, and keep on typing, you are typing in another vertex.

e.g. ("^" marks the cursor position)
Code:
4 9 -15.2189 15.4138 -7.2 -17.7169 13.7447 -7.1 -17.7169 13.7447 -3 -15.2189 15.4138 -3
                    ^                                                  

select "4138"
4 9 -15.2189 15.[b][i][color=#FF0000]4138[/color][/i][/b] -7.2 -17.7169 13.7447 -7.1 -17.7169 13.7447 -3 -15.2189 15.4138 -3
                     ^  

type "4", "4138" is deleted correctly
4 9 -15.2189 15.[b][i][color=#FF0000]4[/color][/i][/b] -7.2 -17.7169 13.7447 -7.1 -17.7169 13.7447 -3 -15.2189 15.4138 -3
                    ^  

type "5", this ends up at the cursor position
4 9 -15.2189 15.4 -7.[i][b][color=#FF0000]5[/color][/b][/i]2 -17.7169 13.7447 -7.1 -17.7169 13.7447 -3 -15.2189 15.4138 -3
                    ^

It seems to me that the position of the cursor is not re-calculated correctly (following the "4")


Re: ... 0.8.4 > Issue > Sync Edit - Nils Schmidt - 2016-02-29

Thanks, Gerald! I was able to fix it quickly Smile


Re: 0.8.4c Beta FAQ - Willy Tschager - 2016-03-01

Nils Schmidt Wrote:You can already sort by colour with the text editor window as a temporary workaround.

Anybody experiencing that there is no sorting if the selection comprises a "0 // comment"?

w.


[LDPartEditor] New Features for the 0.8.5 Beta Release - Nils Schmidt - 2016-03-02

[Image: SyncEdit_SaveAs.PNG]

With the release of 0.8.5 there will be
  1. a "Save As..." button for *.dat files, which saves and opens a copy of the file (Text Editor)
  2. a "SyncEdit" button, to switch SyncEdit on/off with a button (the corresponding shortkeys Alt+Shift+R and ESC will continue to work)

* not included is the "clock button" between undo/redo, since this function is only for debug tasks.


Text Editor: Sorting with Comments - Nils Schmidt - 2016-03-02

Willy Tschager Wrote:Anybody experiencing that there is no sorting if the selection comprises a "0 // comment"?

w.

LPE's sort algorithm does not destroy the parts structure. Comments between geometry are recognised as a start marker of the next section within the part structure.

Imagine a structure like this

Code:
0 // Front Faces
3 16 ...
3 16 ...
...
0 // Back Faces
3 16 ...
3 16 ...
Sorting will not mix front faces with back faces.

I could make this behaviour optional later on (e.g. with a checkbox).