fixed: the file loader would skip every 300th line. And I thought I was going nuts when my quads kept disappearing...

Sat, 19 Oct 2013 01:11:26 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sat, 19 Oct 2013 01:11:26 +0300
changeset 518
623c01862eb8
parent 517
2b5adb45aaa5
child 519
63135a8abd41

fixed: the file loader would skip every 300th line. And I thought I was going nuts when my quads kept disappearing...

changelog.txt file | annotate | diff | comparison | revisions
src/file.cpp file | annotate | diff | comparison | revisions
--- 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.
 
--- 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);
 	}

mercurial