From 9dd35f9c3a6e269148600958990317479d91cdd4 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 16 Jul 2019 13:40:14 +0200 Subject: [PATCH] gobj: default current_thread arg for Geom.get_animated_vertex_data() --- panda/src/gobj/geom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/gobj/geom.h b/panda/src/gobj/geom.h index 82aac75cfa..a1e0b960e4 100644 --- a/panda/src/gobj/geom.h +++ b/panda/src/gobj/geom.h @@ -85,7 +85,7 @@ PUBLISHED: void offset_vertices(const GeomVertexData *data, int offset); 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;