Browse Source

gobj: default current_thread arg for Geom.get_animated_vertex_data()

rdb 6 years ago
parent
commit
9dd35f9c3a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/gobj/geom.h

+ 1 - 1
panda/src/gobj/geom.h

@@ -85,7 +85,7 @@ PUBLISHED:
   void offset_vertices(const GeomVertexData *data, int offset);
   void offset_vertices(const GeomVertexData *data, int offset);
   int make_nonindexed(bool composite_only);
   int make_nonindexed(bool composite_only);
 
 
-  CPT(GeomVertexData) get_animated_vertex_data(bool force, Thread *current_thread) const;
+  CPT(GeomVertexData) get_animated_vertex_data(bool force, Thread *current_thread = Thread::get_current_thread()) const;
 
 
   INLINE bool is_empty() const;
   INLINE bool is_empty() const;