Cleanup unnecessary debug prints

This commit is contained in:
Rémi Verschelde 2017-10-21 19:31:23 +02:00
parent 393daf0502
commit 6361e24f29
17 changed files with 14 additions and 172 deletions

View file

@ -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()) {