diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-24 08:00:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 08:00:23 +0100 |
commit | 128a55a597b0dfad4d7f5b94c64b37b0ce120899 (patch) | |
tree | 06cb54f7a9df6bb015f8c5c416f19c200c66eb8b /editor/inspector_dock.cpp | |
parent | 49118315ba2cbc153384fd733784250abe053b6d (diff) | |
parent | 15e6a82faff0bf9a08def1e46f2e9a8c4e0ac3ea (diff) |
Merge pull request #36494 from akien-mga/callable-fixes
Fix some signals and non-debug branch for callable_mp
Diffstat (limited to 'editor/inspector_dock.cpp')
-rw-r--r-- | editor/inspector_dock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/inspector_dock.cpp b/editor/inspector_dock.cpp index 85356a209f..1f96092bba 100644 --- a/editor/inspector_dock.cpp +++ b/editor/inspector_dock.cpp @@ -260,7 +260,7 @@ void InspectorDock::_prepare_history() { } } -void InspectorDock::_select_history(int p_idx) const { +void InspectorDock::_select_history(int p_idx) { //push it to the top, it is not correct, but it's more useful ObjectID id = EditorNode::get_singleton()->get_editor_history()->get_history_obj(p_idx); Object *obj = ObjectDB::get_instance(id); @@ -269,7 +269,7 @@ void InspectorDock::_select_history(int p_idx) const { editor->push_item(obj); } -void InspectorDock::_resource_created() const { +void InspectorDock::_resource_created() { Object *c = new_resource_dialog->instance_selected(); ERR_FAIL_COND(!c); @@ -280,7 +280,7 @@ void InspectorDock::_resource_created() const { editor->push_item(c); } -void InspectorDock::_resource_selected(const RES &p_res, const String &p_property) const { +void InspectorDock::_resource_selected(const RES &p_res, const String &p_property) { if (p_res.is_null()) return; |