mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
investigated the netmembership function. It is no longer necessary for the new egg files because it is not possible for vertex to assign a joint with 0 membership
This commit is contained in:
parent
e57ef72e2b
commit
e1ae6ee0b3
@ -2005,19 +2005,6 @@ cleanup_soft_skin()
|
||||
// hard skin this vertex
|
||||
joint->ref_vertex( vert, 1.0f );
|
||||
}
|
||||
/*
|
||||
else {
|
||||
membership = joint->get_vertex_membership(vert);
|
||||
if ( membership == 0 ) {
|
||||
|
||||
softegg_cat.spam() << "vert " << vert->get_external_index() << " has membership " << membership << endl;
|
||||
//softegg_cat.spam() << "adding full weight..\n";
|
||||
|
||||
// hard skin this vertex
|
||||
joint->ref_vertex( vert, 1.0f );
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user