summaryrefslogtreecommitdiff
path: root/editor/plugins/mesh_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-24 15:02:10 +0200
committerGitHub <noreply@github.com>2018-08-24 15:02:10 +0200
commitcad24adb977982a776a3ff3246ed9a47268da38e (patch)
tree54ff3bb78961ca5d8120cc7e6abe91f5c99d92b7 /editor/plugins/mesh_editor_plugin.cpp
parentd442f3d0aa4185f154bee396efaf24ceb73c9d84 (diff)
parent52466d57e9c2897c40698a09482e5e7de230368f (diff)
Merge pull request #21354 from akien-mga/clean-print_line
Make some debug prints verbose-only, remove others
Diffstat (limited to 'editor/plugins/mesh_editor_plugin.cpp')
-rw-r--r--editor/plugins/mesh_editor_plugin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/plugins/mesh_editor_plugin.cpp b/editor/plugins/mesh_editor_plugin.cpp
index ea8f921034..7b7e23531a 100644
--- a/editor/plugins/mesh_editor_plugin.cpp
+++ b/editor/plugins/mesh_editor_plugin.cpp
@@ -97,13 +97,11 @@ void MeshEditor::edit(Ref<Mesh> p_mesh) {
_update_rotation();
AABB aabb = mesh->get_aabb();
- print_line("aabb: " + aabb);
Vector3 ofs = aabb.position + aabb.size * 0.5;
float m = aabb.get_longest_axis_size();
if (m != 0) {
m = 1.0 / m;
m *= 0.5;
- //print_line("scale: "+rtos(m));
Transform xform;
xform.basis.scale(Vector3(m, m, m));
xform.origin = -xform.basis.xform(ofs); //-ofs*m;