Less verbose log
This commit is contained in:
Submodule src/flecs updated: 254e7ee72f...de96203869
Submodule src/meshoptimizer updated: 7634a68dd5...fdd22f8117
@@ -86,8 +86,10 @@ void NavPanel::_notification(int which)
|
|||||||
EditorEvent::get_singleton()->event.emit(
|
EditorEvent::get_singleton()->event.emit(
|
||||||
"editor_camera_moved", varray(camera_xform));
|
"editor_camera_moved", varray(camera_xform));
|
||||||
transform_changhed = false;
|
transform_changhed = false;
|
||||||
|
#if 0
|
||||||
print_verbose("moved: " +
|
print_verbose("moved: " +
|
||||||
(camera_xform.origin.operator String()));
|
(camera_xform.origin.operator String()));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,7 +102,8 @@ void TerrainEditor::event_handler(const String &event,
|
|||||||
const Vector<Variant> &args)
|
const Vector<Variant> &args)
|
||||||
{
|
{
|
||||||
static Vector3 last_cursor_position;
|
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 (event == "mouse_press" || event == "mouse_drag") {
|
||||||
if (!active)
|
if (!active)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user