mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
take out troublesome asserts for now
This commit is contained in:
parent
78b7437b0d
commit
0040b7094a
@ -476,12 +476,16 @@ set_planes() {
|
||||
_planes[5] = Planef(_points[4], _points[6], _points[7]);
|
||||
}
|
||||
|
||||
// Still not entirely sure why some code keeps triggering these, but
|
||||
// I'm taking them out of the normal build for now.
|
||||
#ifdef _DEBUG
|
||||
nassertv(_planes[0].dist_to_plane(_centroid) <= 0.001);
|
||||
nassertv(_planes[1].dist_to_plane(_centroid) <= 0.001);
|
||||
nassertv(_planes[2].dist_to_plane(_centroid) <= 0.001);
|
||||
nassertv(_planes[3].dist_to_plane(_centroid) <= 0.001);
|
||||
nassertv(_planes[4].dist_to_plane(_centroid) <= 0.001);
|
||||
nassertv(_planes[5].dist_to_plane(_centroid) <= 0.001);
|
||||
#endif
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user