mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
removed commented code
This commit is contained in:
parent
5a1bca16fc
commit
cc5d47ba1d
@ -51,14 +51,6 @@ queue_event(CPT_Event event) {
|
||||
#ifdef OLD_HAVE_IPC
|
||||
mutex_lock lock(_lock);
|
||||
#endif
|
||||
#if 0
|
||||
// This is just some paranoid debug code. I had a problem where
|
||||
// one of the events was going null while it was in the queue.
|
||||
size_t limit = _queue.size();
|
||||
while (limit--) {
|
||||
nassertv(!_queue[limit].is_null());
|
||||
}
|
||||
#endif
|
||||
if (_queue.full()) {
|
||||
event_cat.error()
|
||||
<< "Ignoring event " << *event << "; event queue full.\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user