<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><blockquote type="cite" class="">I've found what's causing the bad shading and small "holidays" when testing Yumin's shapefile importer (but not the other problem yet). ...<br class=""></blockquote><br class=""><div class="">I've pushed a fix to the polygon-session's "import" operator that gets it loading some shapefiles correctly. It will load files like the "countries.shp" file that ParaView tests but with errors; this is because that particular shapefile stores multiple faces in a single polygon (polygons are allowed to have multiple parts, each of which is an outer loop plus inner loops).</div><div class=""><br class=""></div><div class="">However, the problem that led to tessellations with notches in them was that the "import" operator was not populating the "counts" item of the "force create face" operator it calls under the hood. This is required so that the the operator knows which edges are part of the outer loop and which ones form inner loops.</div><div class=""><br class=""></div><div class="">Attached is a screenshot created by running the (new) polygonImportPy test in interactive mode:</div><div class=""><br class=""></div><div class=""> python /path/to/smtk/bridge/polygon/testing/python/polygonImport.py -D /path/to/SMTKTestData -I</div><div class=""><br class=""></div><div class="">You can see that some countries have proper tessellations while others do not.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>David</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="AC16783F-9A5A-4109-9CDC-F58ADFB87DEB" height="270" width="494" apple-width="yes" apple-height="yes" src="cid:856423B8-A006-4FF1-B6D5-C361FA90C5CF@kitware.com" class=""></div></body></html>