From 440c6f41313dbb454d804c8c7a556b8cb5e6bb61 Mon Sep 17 00:00:00 2001 From: Zachary Pavlov Date: Thu, 23 Apr 2009 18:12:30 +0000 Subject: [PATCH] notify added for nodepath bool 2 --- panda/src/pgraph/nodePath.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/pgraph/nodePath.cxx b/panda/src/pgraph/nodePath.cxx index 1c9d4c8041..040a34e0cc 100644 --- a/panda/src/pgraph/nodePath.cxx +++ b/panda/src/pgraph/nodePath.cxx @@ -148,8 +148,9 @@ operator bool () const { #ifdef HAVE_PYTHON PyErr_Warn(PyExc_FutureWarning, (char *)msg); #endif + return !is_empty(); } - return true; + case ENP_transition: if (!is_empty()) {