David Rose 21 years ago
parent
commit
9d54d7690e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pandatool/src/vrmlegg/indexedFaceSet.cxx

+ 1 - 1
pandatool/src/vrmlegg/indexedFaceSet.cxx

@@ -529,7 +529,7 @@ make_polys(EggVertexPool *vpool, EggGroup *group,
       poly->set_color(_appearance._color);
       poly->set_color(_appearance._color);
     }
     }
 
 
-    if (_appearance._tex != NULL) {
+    if (_appearance._tex != (EggTexture *)NULL) {
       poly->set_texture(_appearance._tex);
       poly->set_texture(_appearance._tex);
     }
     }