Less verbose log

This commit is contained in:
2025-03-13 20:14:58 +03:00
parent 5f1fdddc5d
commit 876eefeea5
4 changed files with 6 additions and 3 deletions

View File

@@ -86,8 +86,10 @@ void NavPanel::_notification(int which)
EditorEvent::get_singleton()->event.emit(
"editor_camera_moved", varray(camera_xform));
transform_changhed = false;
#if 0
print_verbose("moved: " +
(camera_xform.origin.operator String()));
#endif
}
}
}

View File

@@ -102,7 +102,8 @@ void TerrainEditor::event_handler(const String &event,
const Vector<Variant> &args)
{
static Vector3 last_cursor_position;
print_line("TerrainEditor::event: " + event);
if (event != "editor_camera_moved")
print_verbose("TerrainEditor::event: " + event);
if (event == "mouse_press" || event == "mouse_drag") {
if (!active)
return;