diff options
| author | Juan Linietsky | 2016-05-23 17:10:26 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-05-23 17:11:49 -0300 |
| commit | d3495b128a700b6f830ec90ff0b544ad1333b867 (patch) | |
| tree | 78d1a96d928f912e9d5e1f8502d7651c47e209b6 /tools/editor/editor_plugin.cpp | |
| parent | b777b32470fc7cba345f3ff2ee419074104f8f9b (diff) | |
| download | godot-d3495b128a700b6f830ec90ff0b544ad1333b867.tar.gz godot-d3495b128a700b6f830ec90ff0b544ad1333b867.tar.zst godot-d3495b128a700b6f830ec90ff0b544ad1333b867.zip | |
-Improve resource previews
-Also fixed draw_texture_rect() tile parameter
Diffstat (limited to 'tools/editor/editor_plugin.cpp')
| -rw-r--r-- | tools/editor/editor_plugin.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/editor/editor_plugin.cpp b/tools/editor/editor_plugin.cpp index dc4636125..138e532ce 100644 --- a/tools/editor/editor_plugin.cpp +++ b/tools/editor/editor_plugin.cpp @@ -110,6 +110,12 @@ void EditorPlugin::add_control_to_container(CustomControlContainer p_location,Co CanvasItemEditor::get_singleton()->get_bottom_split()->add_child(p_control); } break; + case CONTAINER_PROPERTY_EDITOR_BOTTOM: { + + EditorNode::get_singleton()->get_property_editor_vb()->add_child(p_control); + + } break; + } } @@ -319,6 +325,8 @@ void EditorPlugin::_bind_methods() { BIND_CONSTANT( CONTAINER_SPATIAL_EDITOR_BOTTOM ); BIND_CONSTANT( CONTAINER_CANVAS_EDITOR_MENU ); BIND_CONSTANT( CONTAINER_CANVAS_EDITOR_SIDE ); + BIND_CONSTANT( CONTAINER_PROPERTY_EDITOR_BOTTOM ); + BIND_CONSTANT( DOCK_SLOT_LEFT_UL ); BIND_CONSTANT( DOCK_SLOT_LEFT_BL ); |
