Browse Source

make Transform2SG keep a reference-counting pointer to its node

David Rose 16 years ago
parent
commit
f486d3c152
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/tform/transform2sg.h

+ 1 - 1
panda/src/tform/transform2sg.h

@@ -35,7 +35,7 @@ PUBLISHED:
   PandaNode *get_node() const;
 
 private:
-  PandaNode *_node;
+  PT(PandaNode) _node;
 
 protected:
   // Inherited from DataNode