mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
debug -> spam
This commit is contained in:
parent
ea5ee97c6a
commit
ad14797776
@ -1591,14 +1591,14 @@ do_issue_light() {
|
|||||||
int num_enabled = 0;
|
int num_enabled = 0;
|
||||||
int num_on_lights = 0;
|
int num_on_lights = 0;
|
||||||
|
|
||||||
if (display_cat.is_debug()) {
|
if (display_cat.is_spam()) {
|
||||||
display_cat.debug()
|
display_cat.spam()
|
||||||
<< "do_issue_light: " << _target._light << "\n";
|
<< "do_issue_light: " << _target._light << "\n";
|
||||||
}
|
}
|
||||||
if (_target._light != (LightAttrib *)NULL) {
|
if (_target._light != (LightAttrib *)NULL) {
|
||||||
CPT(LightAttrib) new_light = _target._light->filter_to_max(_max_lights);
|
CPT(LightAttrib) new_light = _target._light->filter_to_max(_max_lights);
|
||||||
if (display_cat.is_debug()) {
|
if (display_cat.is_spam()) {
|
||||||
new_light->write(display_cat.debug(false), 2);
|
new_light->write(display_cat.spam(false), 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
num_on_lights = new_light->get_num_on_lights();
|
num_on_lights = new_light->get_num_on_lights();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user