1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Fix editor glitches when the mesh/material preview is shown

This commit is contained in:
Franklin Sobrinho
2016-08-16 12:10:44 -03:00
parent 56fa741b7a
commit a4c3d2dc89
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ MeshEditor::MeshEditor() {
world.instance();
viewport->set_world(world); //use own world
add_child(viewport);
viewport->set_process_input(false);
viewport->set_disable_input(true);
camera = memnew( Camera );
camera->set_transform(Transform(Matrix3(),Vector3(0,0,3)));