| 1141 | } |
| 1142 | |
| 1143 | void EditorNode::_plugin_over_edit(EditorPlugin *p_plugin, Object *p_object) { |
| 1144 | if (p_object) { |
| 1145 | editor_plugins_over->add_plugin(p_plugin); |
| 1146 | p_plugin->edit(p_object); |
| 1147 | p_plugin->make_visible(true); |
| 1148 | } else { |
| 1149 | editor_plugins_over->remove_plugin(p_plugin); |
| 1150 | p_plugin->edit(nullptr); |
| 1151 | p_plugin->make_visible(false); |
| 1152 | } |
| 1153 | } |
| 1154 | |
| 1155 | void EditorNode::_plugin_over_self_own(EditorPlugin *p_plugin) { |
| 1156 | active_plugins[p_plugin->get_instance_id()].insert(p_plugin); |
nothing calls this directly
no test coverage detected