From e4f0a9ce32dc84662d82a1751b4ed12ffde7f474 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 19 Jan 2019 22:59:51 +0100 Subject: [PATCH] pgraph: allow getting NodePath from CullTraverserData in Python --- panda/src/pgraph/cullTraverserData.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/pgraph/cullTraverserData.h b/panda/src/pgraph/cullTraverserData.h index e275dcfd93..eca5f142dc 100644 --- a/panda/src/pgraph/cullTraverserData.h +++ b/panda/src/pgraph/cullTraverserData.h @@ -67,6 +67,8 @@ PUBLISHED: void apply_transform_and_state(CullTraverser *trav); void apply_transform(const TransformState *node_transform); + MAKE_PROPERTY(node_path, get_node_path); + private: // We store a chain leading all the way to the root, so that we can compose // a NodePath. We may be able to eliminate this requirement in the future.