Sun, 09 Mar 2014 21:14:07 +0200
- LDDocument must be initialized with m_needsGLReInit as true or it will not be compiled properly...
src/Document.cc | file | annotate | diff | comparison | revisions | |
src/GLCompiler.cc | file | annotate | diff | comparison | revisions | |
src/LDObject.cc | file | annotate | diff | comparison | revisions |
--- a/src/Document.cc Sun Mar 09 21:07:44 2014 +0200 +++ b/src/Document.cc Sun Mar 09 21:14:07 2014 +0200 @@ -129,6 +129,7 @@ setTabIndex (-1); setHistory (new History); history()->setDocument (this); + m_needsGLReInit = true; } // =============================================================================
--- a/src/GLCompiler.cc Sun Mar 09 21:07:44 2014 +0200 +++ b/src/GLCompiler.cc Sun Mar 09 21:14:07 2014 +0200 @@ -360,7 +360,7 @@ { LDSubfile* ref = static_cast<LDSubfile*> (obj); auto data = ref->inlinePolygons(); - print ("inlinePolygons yielded %1 polys\n", data.size()); + print ("inlinePolygons on %2 yielded %1 polys\n", data.size(), ref->fileInfo()->getDisplayName()); for (LDPolygon& poly : data) {
--- a/src/LDObject.cc Sun Mar 09 21:07:44 2014 +0200 +++ b/src/LDObject.cc Sun Mar 09 21:14:07 2014 +0200 @@ -366,6 +366,7 @@ QList<LDPolygon> LDSubfile::inlinePolygons() { QList<LDPolygon> data = fileInfo()->inlinePolygons(); + print ("LDSubfile::inlinePolygons: %1 has %2 polygons\n", fileInfo()->getDisplayName(), data.size()); for (LDPolygon& entry : data) for (int i = 0; i < entry.numVertices(); ++i)