David Rose 24 лет назад
Родитель
Сommit
8e9e7aa3ca
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      panda/src/egg2pg/qpeggLoader.cxx

+ 6 - 6
panda/src/egg2pg/qpeggLoader.cxx

@@ -20,7 +20,7 @@
 
 #include "qpeggLoader.h"
 #include "config_egg2pg.h"
-#include "qpnodePath.h"
+#include "nodeChain.h"
 #include "renderState.h"
 #include "transformState.h"
 #include "textureAttrib.h"
@@ -154,14 +154,14 @@ reparent_decals() {
     PandaNode *node = (*di);
     nassertv(node != (PandaNode *)NULL);
 
-    // The qpNodePath interface is best for this.
-    qpNodePath parent(node);
+    // The NodeChain interface is best for this.
+    NodeChain parent(node);
 
     // First, search for the GeomNode.
-    qpNodePath geom_parent;
+    NodeChain geom_parent;
     int num_children = parent.get_num_children();
     for (int i = 0; i < num_children; i++) {
-      qpNodePath child = parent.get_child(i);
+      NodeChain child = parent.get_child(i);
 
       if (child.node()->is_of_type(qpGeomNode::get_class_type())) {
         if (!geom_parent.is_empty()) {
@@ -187,7 +187,7 @@ reparent_decals() {
       // list.
       int i = 0;
       while (i < num_children) {
-        qpNodePath child = parent.get_child(i);
+        NodeChain child = parent.get_child(i);
 
         if (child.node()->is_of_type(qpGeomNode::get_class_type())) {
           i++;