From 031868d9a43ddcc5e903ff9e5c5631d69f05daa1 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 8 Jun 2001 23:07:12 +0000 Subject: [PATCH] fix VC++ parser bug --- panda/src/sgmanip/nodePath.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/sgmanip/nodePath.cxx b/panda/src/sgmanip/nodePath.cxx index 18e16fcf7e..8bbe096d56 100644 --- a/panda/src/sgmanip/nodePath.cxx +++ b/panda/src/sgmanip/nodePath.cxx @@ -997,7 +997,8 @@ remove_node() { // Set the chain to stop here, so that any NodePaths sharing this // 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 // sharing NodePaths, this will also delete the complete chain,