Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions modules/gltf/gltf_state.compat.inc
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ Variant GLTFState::_get_additional_data_bind_compat_113172(const StringName &p_e
return get_additional_data(p_extension_name);
}

GLTFState::HandleBinaryImageMode GLTFState::_get_handle_binary_image_mode_bind_compat_113172() {
return get_handle_binary_image_mode();
}

void GLTFState::_bind_compatibility_methods() {
ClassDB::bind_compatibility_method(D_METHOD("get_handle_binary_image"), &GLTFState::_get_handle_binary_image_bind_compat_113172);
ClassDB::bind_compatibility_method(D_METHOD("get_json"), &GLTFState::_get_json_bind_compat_113172);
Expand Down Expand Up @@ -207,6 +211,7 @@ void GLTFState::_bind_compatibility_methods() {
ClassDB::bind_compatibility_method(D_METHOD("get_animation_players_count", "idx"), &GLTFState::_get_animation_players_count_bind_compat_113172);
ClassDB::bind_compatibility_method(D_METHOD("get_animation_player", "idx"), &GLTFState::_get_animation_player_bind_compat_113172);
ClassDB::bind_compatibility_method(D_METHOD("get_additional_data", "extension_name"), &GLTFState::_get_additional_data_bind_compat_113172);
ClassDB::bind_compatibility_method(D_METHOD("get_handle_binary_image_mode"), &GLTFState::_get_handle_binary_image_mode_bind_compat_113172);
}

#endif // DISABLE_DEPRECATED
1 change: 1 addition & 0 deletions modules/gltf/gltf_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ class GLTFState : public Resource {
int _get_animation_players_count_bind_compat_113172(int p_anim_player_index);
AnimationPlayer *_get_animation_player_bind_compat_113172(int p_anim_player_index);
Variant _get_additional_data_bind_compat_113172(const StringName &p_extension_name);
HandleBinaryImageMode _get_handle_binary_image_mode_bind_compat_113172();
static void _bind_compatibility_methods();
#endif // DISABLE_DEPRECATED

Expand Down