# HG changeset patch # User Santeri Piippo # Date 1382134286 -10800 # Node ID 623c01862eb874c7cf6fa44e2115cc659d2086d0 # Parent 2b5adb45aaa50e389c2d148ca09c0b118005bf09 fixed: the file loader would skip every 300th line. And I thought I was going nuts when my quads kept disappearing... diff -r 2b5adb45aaa5 -r 623c01862eb8 changelog.txt --- a/changelog.txt Sat Oct 19 00:39:09 2013 +0300 +++ b/changelog.txt Sat Oct 19 01:11:26 2013 +0300 @@ -34,6 +34,7 @@ and the algorithm can terminate early, hopefully this will save a few cycles on large parts. - The camera icons now draw real tooltips instead of emulated ones. - Color icon border now reflects the color's edge color. +- Fixed: File loading would skip every 300th line. - Fixed: LDForge would sometimes crash during startup over uninitialized data in the GL renderer. - Fixed: The message log was still written with black text with dark backgrounds. diff -r 2b5adb45aaa5 -r 623c01862eb8 src/file.cpp --- a/src/file.cpp Sat Oct 19 00:39:09 2013 +0300 +++ b/src/file.cpp Sat Oct 19 01:11:26 2013 +0300 @@ -339,7 +339,7 @@ // eventually catch the invokation we throw here and send us back. Though // it's not technically recursion anymore, more like a for loop. :P if (concurrent()) - QMetaObject::invokeMethod (this, "work", Qt::QueuedConnection, Q_ARG (int, i + 1)); + QMetaObject::invokeMethod (this, "work", Qt::QueuedConnection, Q_ARG (int, i)); else work (i + 1); }