From 875d17c52afdec01829018a929912cb1fa521e7f Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 9 Dec 2003 04:05:43 +0000 Subject: [PATCH] remove bogus asserts --- panda/src/pgraph/nodePath.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/panda/src/pgraph/nodePath.cxx b/panda/src/pgraph/nodePath.cxx index 3e905d16fc..b2ad4a2be5 100644 --- a/panda/src/pgraph/nodePath.cxx +++ b/panda/src/pgraph/nodePath.cxx @@ -404,7 +404,6 @@ copy_to(const NodePath &other, int sort) const { nassertr(verify_complete(), fail()); nassertr(other.verify_complete(), fail()); nassertr_always(!is_empty(), fail()); - nassertr(!other.is_empty(), fail()); nassertr(other._error_type == ET_ok, fail()); PandaNode *source_node = node(); @@ -435,7 +434,7 @@ copy_to(const NodePath &other, int sort) const { NodePath NodePath:: attach_new_node(PandaNode *node, int sort) const { nassertr(verify_complete(), NodePath::fail()); - nassertr_always(!is_empty(), NodePath::fail()); + nassertr(_error_type == ET_ok, NodePath::fail()); nassertr(node != (PandaNode *)NULL, NodePath::fail()); NodePath new_path(*this);