summaryrefslogtreecommitdiffstats
path: root/editor/plugins/tile_set_editor_plugin.cpp
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-12-07 02:18:02 -0200
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-12-07 02:18:02 -0200
commitd514ac405b477e1ecacb25dedc6d0f7f03d2cb2c (patch)
tree2f60d415b818944545b685151793d873c9842c88 /editor/plugins/tile_set_editor_plugin.cpp
parentce3f3a9f82545b71a819c32e2c134a55d9d564f2 (diff)
downloadredot-engine-d514ac405b477e1ecacb25dedc6d0f7f03d2cb2c.tar.gz
Hide "Script" section in the "TilesetEditorContext"
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.cpp')
-rw-r--r--editor/plugins/tile_set_editor_plugin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp
index 5844315529..fe896e12ff 100644
--- a/editor/plugins/tile_set_editor_plugin.cpp
+++ b/editor/plugins/tile_set_editor_plugin.cpp
@@ -2442,6 +2442,11 @@ void TilesetEditorContext::_get_property_list(List<PropertyInfo> *p_list) const
}
}
+void TilesetEditorContext::_bind_methods() {
+
+ ClassDB::bind_method("_hide_script_from_inspector", &TilesetEditorContext::_hide_script_from_inspector);
+}
+
TilesetEditorContext::TilesetEditorContext(TileSetEditor *p_tileset_editor) {
tileset_editor = p_tileset_editor;