Răsfoiți Sursa

expose subdivision patches

David Rose 24 ani în urmă
părinte
comite
714114479e
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      pandatool/src/lwoegg/cLwoPolygons.cxx

+ 2 - 1
pandatool/src/lwoegg/cLwoPolygons.cxx

@@ -180,7 +180,8 @@ make_egg() {
     nout << "Ignoring Catmull-Rom splines.\n";
 
   } else if (_polygons->_polygon_type == IffId("PTCH")) {
-    nout << "Ignoring subdivision patches.\n";
+    nout << "Treating subdivision patches as ordinary polygons.\n";
+    make_faces();
 
   } else if (_polygons->_polygon_type == IffId("MBAL")) {
     nout << "Ignoring metaballs.\n";