mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -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::
|
void ClockObject::
|
||||||
set_real_time(double time) {
|
set_real_time(double time) {
|
||||||
#ifdef NOTIFY_DEBUG
|
#ifdef NOTIFY_DEBUG
|
||||||
if (this == _global_clock) {
|
// This is only a debug message, since it happens during normal
|
||||||
util_cat.warning()
|
// 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()
|
<< "Adjusting global clock's real time by " << time - get_real_time()
|
||||||
<< " seconds.\n";
|
<< " seconds.\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user