Browse Source

oops, fix detach_geom_node

David Rose 23 years ago
parent
commit
bc32a645b8

+ 1 - 1
panda/src/parametrics/parametricCurveDrawer.cxx

@@ -144,7 +144,7 @@ get_geom_node() {
 //               will return this new GeomNode which will be empty until
 //               will return this new GeomNode which will be empty until
 //               the next call to draw().
 //               the next call to draw().
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-GeomNode *ParametricCurveDrawer::
+PT(GeomNode) ParametricCurveDrawer::
 detach_geom_node() {
 detach_geom_node() {
   if (!_drawn) {
   if (!_drawn) {
     draw();
     draw();

+ 1 - 1
panda/src/parametrics/parametricCurveDrawer.h

@@ -42,7 +42,7 @@ PUBLISHED:
   ParametricCurveCollection *get_curves();
   ParametricCurveCollection *get_curves();
 
 
   GeomNode *get_geom_node();
   GeomNode *get_geom_node();
-  GeomNode *detach_geom_node();
+  PT(GeomNode) detach_geom_node();
 
 
   void set_num_segs(float num_segs);
   void set_num_segs(float num_segs);
   float get_num_segs() const;
   float get_num_segs() const;