mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Cleanup unnecessary debug prints
This commit is contained in:
parent
393daf0502
commit
6361e24f29
17 changed files with 14 additions and 172 deletions
|
@ -90,17 +90,10 @@ void VisualServerRaster::request_frame_drawn_callback(Object *p_where, const Str
|
|||
fdc.param = p_userdata;
|
||||
|
||||
frame_drawn_callbacks.push_back(fdc);
|
||||
|
||||
print_line("added callback to draw");
|
||||
}
|
||||
|
||||
void VisualServerRaster::draw() {
|
||||
|
||||
/*
|
||||
if (changes)
|
||||
print_line("changes: "+itos(changes));
|
||||
*/
|
||||
|
||||
changes = 0;
|
||||
|
||||
VSG::rasterizer->begin_frame();
|
||||
|
@ -109,9 +102,7 @@ void VisualServerRaster::draw() {
|
|||
|
||||
VSG::viewport->draw_viewports();
|
||||
VSG::scene->render_probes();
|
||||
//_draw_cursors_and_margins();
|
||||
VSG::rasterizer->end_frame();
|
||||
//draw_extra_frame=VS:rasterizer->needs_to_draw_next_frame();
|
||||
|
||||
while (frame_drawn_callbacks.front()) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue