Переглянути джерело

expose subdivision patches

David Rose 24 роки тому
батько
коміт
714114479e
1 змінених файлів з 2 додано та 1 видалено
  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";
     nout << "Ignoring Catmull-Rom splines.\n";
 
 
   } else if (_polygons->_polygon_type == IffId("PTCH")) {
   } 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")) {
   } else if (_polygons->_polygon_type == IffId("MBAL")) {
     nout << "Ignoring metaballs.\n";
     nout << "Ignoring metaballs.\n";