mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
remove bogus asserts
This commit is contained in:
parent
bfef4fa423
commit
875d17c52a
@ -404,7 +404,6 @@ copy_to(const NodePath &other, int sort) const {
|
|||||||
nassertr(verify_complete(), fail());
|
nassertr(verify_complete(), fail());
|
||||||
nassertr(other.verify_complete(), fail());
|
nassertr(other.verify_complete(), fail());
|
||||||
nassertr_always(!is_empty(), fail());
|
nassertr_always(!is_empty(), fail());
|
||||||
nassertr(!other.is_empty(), fail());
|
|
||||||
nassertr(other._error_type == ET_ok, fail());
|
nassertr(other._error_type == ET_ok, fail());
|
||||||
|
|
||||||
PandaNode *source_node = node();
|
PandaNode *source_node = node();
|
||||||
@ -435,7 +434,7 @@ copy_to(const NodePath &other, int sort) const {
|
|||||||
NodePath NodePath::
|
NodePath NodePath::
|
||||||
attach_new_node(PandaNode *node, int sort) const {
|
attach_new_node(PandaNode *node, int sort) const {
|
||||||
nassertr(verify_complete(), NodePath::fail());
|
nassertr(verify_complete(), NodePath::fail());
|
||||||
nassertr_always(!is_empty(), NodePath::fail());
|
nassertr(_error_type == ET_ok, NodePath::fail());
|
||||||
nassertr(node != (PandaNode *)NULL, NodePath::fail());
|
nassertr(node != (PandaNode *)NULL, NodePath::fail());
|
||||||
|
|
||||||
NodePath new_path(*this);
|
NodePath new_path(*this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user