mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
squelch silly warning about clock time
This commit is contained in:
parent
d78fdb169f
commit
2d0ade8276
@ -159,8 +159,11 @@ set_mode(ClockObject::Mode mode) {
|
||||
void ClockObject::
|
||||
set_real_time(double time) {
|
||||
#ifdef NOTIFY_DEBUG
|
||||
if (this == _global_clock) {
|
||||
util_cat.warning()
|
||||
// This is only a debug message, since it happens during normal
|
||||
// development, particularly at startup, or whenever you break into
|
||||
// the task loop.
|
||||
if (util_cat.is_debug() && this == _global_clock) {
|
||||
util_cat.debug()
|
||||
<< "Adjusting global clock's real time by " << time - get_real_time()
|
||||
<< " seconds.\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user