Expose EditorInspector::get_edited_object to GDScript
This commit is contained in:
parent
5271c971f3
commit
6918525795
|
@ -13,6 +13,12 @@
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
<methods>
|
<methods>
|
||||||
|
<method name="get_edited_object">
|
||||||
|
<return type="Object" />
|
||||||
|
<description>
|
||||||
|
Returns the object currently selected in this inspector.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="refresh">
|
<method name="refresh">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<description>
|
<description>
|
||||||
|
|
|
@ -2331,6 +2331,7 @@ void EditorInspector::_bind_methods() {
|
||||||
ClassDB::bind_method("_object_id_selected", &EditorInspector::_object_id_selected);
|
ClassDB::bind_method("_object_id_selected", &EditorInspector::_object_id_selected);
|
||||||
ClassDB::bind_method("_vscroll_changed", &EditorInspector::_vscroll_changed);
|
ClassDB::bind_method("_vscroll_changed", &EditorInspector::_vscroll_changed);
|
||||||
ClassDB::bind_method("_feature_profile_changed", &EditorInspector::_feature_profile_changed);
|
ClassDB::bind_method("_feature_profile_changed", &EditorInspector::_feature_profile_changed);
|
||||||
|
ClassDB::bind_method("get_edited_object", &EditorInspector::get_edited_object);
|
||||||
|
|
||||||
ClassDB::bind_method("refresh", &EditorInspector::refresh);
|
ClassDB::bind_method("refresh", &EditorInspector::refresh);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue