diff options
| author | Franklin Sobrinho | 2016-08-16 12:10:44 -0300 |
|---|---|---|
| committer | Franklin Sobrinho | 2016-08-16 12:10:44 -0300 |
| commit | a4c3d2dc89b3078acc14af1cfd8a947490d21a3f (patch) | |
| tree | 12b0f1982d4313987273d155b62e9e13f9854b46 /tools/editor/plugins/material_editor_plugin.cpp | |
| parent | 56fa741b7a729bd5a00cff17e4382af547de92ad (diff) | |
| download | godot-a4c3d2dc89b3078acc14af1cfd8a947490d21a3f.tar.gz godot-a4c3d2dc89b3078acc14af1cfd8a947490d21a3f.tar.zst godot-a4c3d2dc89b3078acc14af1cfd8a947490d21a3f.zip | |
Fix editor glitches when the mesh/material preview is shown
Diffstat (limited to 'tools/editor/plugins/material_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/material_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/material_editor_plugin.cpp b/tools/editor/plugins/material_editor_plugin.cpp index f4258836e..876fab0d6 100644 --- a/tools/editor/plugins/material_editor_plugin.cpp +++ b/tools/editor/plugins/material_editor_plugin.cpp @@ -103,7 +103,7 @@ MaterialEditor::MaterialEditor() { 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))); |
