Browse Source

egg: Add CPPPARSER ifndef to eggGroupNode_ext.cxx to fix parse error.

Sam Edwards 11 years ago
parent
commit
31d420515a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/egg/eggGroupNode_ext.cxx

+ 2 - 0
panda/src/egg/eggGroupNode_ext.cxx

@@ -16,7 +16,9 @@
 
 
 #ifdef HAVE_PYTHON
 #ifdef HAVE_PYTHON
 
 
+#ifndef CPPPARSER
 IMPORT_THIS struct Dtool_PyTypedObject Dtool_EggNode;
 IMPORT_THIS struct Dtool_PyTypedObject Dtool_EggNode;
+#endif
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: EggGroupNode::get_children
 //     Function: EggGroupNode::get_children