diff options
| author | Juan Linietsky | 2017-01-05 19:41:36 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-05 19:41:36 -0300 |
| commit | 99ceddd11ef652a3b8e6bf5d09dcc519d957ce14 (patch) | |
| tree | 4c3daa35be5b08a27829f98cea6cf8598932046e /tools/editor/plugins/cube_grid_theme_editor_plugin.cpp | |
| parent | 495d059a744b268b0355d0cbfbb9ef30fec865e2 (diff) | |
| download | godot-99ceddd11ef652a3b8e6bf5d09dcc519d957ce14.tar.gz godot-99ceddd11ef652a3b8e6bf5d09dcc519d957ce14.tar.zst godot-99ceddd11ef652a3b8e6bf5d09dcc519d957ce14.zip | |
Editor settings categories are now tidy and beautiful!
Diffstat (limited to 'tools/editor/plugins/cube_grid_theme_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/cube_grid_theme_editor_plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/plugins/cube_grid_theme_editor_plugin.cpp b/tools/editor/plugins/cube_grid_theme_editor_plugin.cpp index a5f447cfd..a981089cc 100644 --- a/tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +++ b/tools/editor/plugins/cube_grid_theme_editor_plugin.cpp @@ -151,8 +151,8 @@ void MeshLibraryEditor::_import_scene(Node *p_scene, Ref<MeshLibrary> p_library, VS::ViewportRect vr; vr.x=0; vr.y=0; - vr.width=EditorSettings::get_singleton()->get("grid_map/preview_size"); - vr.height=EditorSettings::get_singleton()->get("grid_map/preview_size"); + vr.width=EditorSettings::get_singleton()->get("editors/grid_map/preview_size"); + vr.height=EditorSettings::get_singleton()->get("editors/grid_map/preview_size"); VS::get_singleton()->viewport_set_rect(vp,vr); VS::get_singleton()->viewport_set_as_render_target(vp,true); VS::get_singleton()->viewport_set_render_target_update_mode(vp,VS::RENDER_TARGET_UPDATE_ALWAYS); @@ -343,7 +343,7 @@ void MeshLibraryEditorPlugin::make_visible(bool p_visible){ MeshLibraryEditorPlugin::MeshLibraryEditorPlugin(EditorNode *p_node) { - EDITOR_DEF("grid_map/preview_size",64); + EDITOR_DEF("editors/grid_map/preview_size",64); theme_editor = memnew( MeshLibraryEditor(p_node) ); p_node->get_viewport()->add_child(theme_editor); |
