Explorar el Código

fix VC++ parser bug

David Rose hace 24 años
padre
commit
031868d9a4
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      panda/src/sgmanip/nodePath.cxx

+ 2 - 1
panda/src/sgmanip/nodePath.cxx

@@ -997,7 +997,8 @@ remove_node() {
 
 
   // Set the chain to stop here, so that any NodePaths sharing this
   // Set the chain to stop here, so that any NodePaths sharing this
   // one will now begin at this "deleted" node.
   // one will now begin at this "deleted" node.
-  (*_head) = ArcComponent(dnode);
+  ArcComponent here(dnode.p());
+  (*_head) = here;
 
 
   // Now remove our own chain reference.  If there were no other
   // Now remove our own chain reference.  If there were no other
   // sharing NodePaths, this will also delete the complete chain,
   // sharing NodePaths, this will also delete the complete chain,