diff options
| author | Franklin Sobrinho | 2016-08-16 12:10:44 -0300 |
|---|---|---|
| committer | Rémi Verschelde | 2016-09-01 08:40:16 +0200 |
| commit | 3cbd6b87013b74f1c4093c136d9ebf420f829a43 (patch) | |
| tree | 9ac465261da49457f3d81646f89ef4b3c89bc2d5 /tools/editor/plugins/material_editor_plugin.cpp | |
| parent | 4890db7feffce177ead1f918a4b1a98e8779b399 (diff) | |
| download | godot-3cbd6b87013b74f1c4093c136d9ebf420f829a43.tar.gz godot-3cbd6b87013b74f1c4093c136d9ebf420f829a43.tar.zst godot-3cbd6b87013b74f1c4093c136d9ebf420f829a43.zip | |
Fix editor glitches when the mesh/material preview is shown
(cherry picked from commit a4c3d2dc89b3078acc14af1cfd8a947490d21a3f)
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))); |
