mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Simplify GDVIRTUAL_CALL calls
This commit is contained in:
parent
4a96fce801
commit
d06a8320e5
28 changed files with 507 additions and 983 deletions
|
|
@ -142,10 +142,8 @@ void EditorExportPlugin::_export_end_script() {
|
|||
|
||||
bool EditorExportPlugin::_begin_customize_resources(const Ref<EditorExportPlatform> &p_platform, const Vector<String> &p_features) const {
|
||||
bool ret = false;
|
||||
if (GDVIRTUAL_CALL(_begin_customize_resources, p_platform, p_features, ret)) {
|
||||
return ret;
|
||||
}
|
||||
return false;
|
||||
GDVIRTUAL_CALL(_begin_customize_resources, p_platform, p_features, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Ref<Resource> EditorExportPlugin::_customize_resource(const Ref<Resource> &p_resource, const String &p_path) {
|
||||
|
|
@ -158,10 +156,8 @@ Ref<Resource> EditorExportPlugin::_customize_resource(const Ref<Resource> &p_res
|
|||
|
||||
bool EditorExportPlugin::_begin_customize_scenes(const Ref<EditorExportPlatform> &p_platform, const Vector<String> &p_features) const {
|
||||
bool ret = false;
|
||||
if (GDVIRTUAL_CALL(_begin_customize_scenes, p_platform, p_features, ret)) {
|
||||
return ret;
|
||||
}
|
||||
return false;
|
||||
GDVIRTUAL_CALL(_begin_customize_scenes, p_platform, p_features, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Node *EditorExportPlugin::_customize_scene(Node *p_root, const String &p_path) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue