mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
clear stale flag in set_bounds
This commit is contained in:
parent
2b79d328c0
commit
8824ef8a0a
@ -110,6 +110,7 @@ void CollisionSolid::
|
||||
set_bounds(const BoundingVolume &bounding_volume) {
|
||||
MutexHolder holder(_lock);
|
||||
((CollisionSolid *)this)->_internal_bounds = bounding_volume.make_copy();
|
||||
((CollisionSolid *)this)->_flags &= ~F_internal_bounds_stale;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user