Revision: 73218
http://sourceforge.net/p/brlcad/code/73218
Author: starseeker
Date: 2019-05-31 19:09:32 +0000 (Fri, 31 May 2019)
Log Message:
-----------
Only plot if we have a non-null cdt
Modified Paths:
--------------
brlcad/trunk/src/libbrep/cdt.cpp
Modified: brlcad/trunk/src/libbrep/cdt.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt.cpp 2019-05-31 19:00:27 UTC (rev 73217)
+++ brlcad/trunk/src/libbrep/cdt.cpp 2019-05-31 19:09:32 UTC (rev 73218)
@@ -1365,7 +1365,7 @@
}
for (int i = 0; i < s->brep->m_F.Count(); i++) {
- if ((*s->faces)[i]) {
+ if ((*s->faces)[i] && (*s->faces)[i]->cdt) {
(void)ON_Brep_CDT_VList_Face(vhead, vlfree, i, mode, s);
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits