LDraw.org Discussion Forums
[LDCad] Crash LDCad looking for brick 3940 - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: [LDCad] Crash LDCad looking for brick 3940 (/thread-26650.html)



Crash LDCad looking for brick 3940 - Jaco van der Molen - 2022-08-25

Hi,

I was editing a model in LDCad and needed brick 3940b (Support 2 x 2 x 2 Stand) and so I searched for "3940".
LDCad finds 4 bricks with "3940" and then crashes.

What causes this?

Jaco


RE: Crash LDCad looking for brick 3940 - Evert-Jan Boer - 2022-08-25

(2022-08-25, 13:41)Jaco van der Molen Wrote: Hi,

I was editing a model in LDCad and needed brick 3940b (Support 2 x 2 x 2 Stand) and so I searched for "3940".
LDCad finds 4 bricks with "3940" and then crashes.

What causes this?

Jaco

Had the same, found the issue to be in a part I created, sorry.. 
Updated 19789s01, it had some triangles/quads in edge color (24) instead of 16, this causes LDCad to crash for some reason.
If you update this subfile the crash should be gone.


RE: Crash LDCad looking for brick 3940 - Roland Melkert - 2022-08-25

(2022-08-25, 15:05)Evert-Jan Boer Wrote: Had the same, found the issue to be in a part I created, sorry.. 
Updated 19789s01, it had some triangles/quads in edge color (24) instead of 16, this causes LDCad to crash for some reason.
If you update this subfile the crash should be gone.

That should not crash anything, so it's a bug.

I fixed it in the 1.7 Beta 1 code.


RE: Crash LDCad looking for brick 3940 - Jaco van der Molen - 2022-08-25

(2022-08-25, 17:54)Roland Melkert Wrote: That should not crash anything, so it's a bug.

I fixed it in the 1.7 Beta 1 code.

OK, crash is in 1.7 Alpha 2 btw.
@Roland: Since you fixed it, I suppose you do not need the log or anything

@Evert-Jan: I will replace the subfile and see if I can use either old part 3940b or the new 19789.

Needless to say perhaps, but is the correct version of 19789s01 on the partstracker for the next release ;-)


RE: Crash LDCad looking for brick 3940 - Roland Melkert - 2022-08-26

(2022-08-25, 20:07)Jaco van der Molen Wrote: OK, crash is in 1.7 Alpha 2 btw.
@Roland: Since you fixed it, I suppose you do not need the log or anything

No the bug was quite obvious, it was practically visible from space Smile.


RE: Crash LDCad looking for brick 3940 - Jaco van der Molen - 2022-08-27

(2022-08-26, 20:39)Roland Melkert Wrote: No the bug was quite obvious, it was practically visible from space Smile.

LOL