Sfoglia il codice sorgente

use joint_has_primitives

David Rose 22 anni fa
parent
commit
7398f2bfa2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      pandatool/src/eggcharbase/eggJointNodePointer.cxx

+ 1 - 1
pandatool/src/eggcharbase/eggJointNodePointer.cxx

@@ -209,7 +209,7 @@ expose(EggGroup::DCSType dcs_type) {
 bool EggJointNodePointer::
 has_vertices() const {
   if (_joint != (EggGroup *)NULL) {
-    return (_joint->vref_size() != 0) || _joint->has_primitives();
+    return (_joint->vref_size() != 0) || _joint->joint_has_primitives();
   }
 
   return false;