mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
temporarily remove assertion
This commit is contained in:
parent
972259b88e
commit
7f225df16d
@ -805,7 +805,11 @@ void Character::
|
|||||||
r_clear_joint_characters(PartGroup *part) {
|
r_clear_joint_characters(PartGroup *part) {
|
||||||
if (part->is_of_type(CharacterJoint::get_class_type())) {
|
if (part->is_of_type(CharacterJoint::get_class_type())) {
|
||||||
CharacterJoint *joint = DCAST(CharacterJoint, part);
|
CharacterJoint *joint = DCAST(CharacterJoint, part);
|
||||||
nassertv(joint->get_character() == this || joint->get_character() == NULL);
|
|
||||||
|
// Whoops! We are not properly assigning the joint->_character
|
||||||
|
// node when we flatten characters! TODO: fix this.
|
||||||
|
// nassertv(joint->get_character() == this || joint->get_character() == NULL);
|
||||||
|
|
||||||
joint->set_character(NULL);
|
joint->set_character(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user