File tree 2 files changed +16
-7
lines changed
2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -141,12 +141,15 @@ pub fn is_godot_type_deleted(godot_ty: &str) -> bool {
141
141
| "MovieWriterPNGWAV"
142
142
| "ResourceFormatImporterSaver"
143
143
=> true ,
144
- // Previously loaded lazily; in 4.2 it loads at the Scene level. See: https://github.com/godotengine/godot/pull/81305
144
+
145
+ // Previously loaded lazily; in 4.2 it loads at the Scene level: https://github.com/godotengine/godot/pull/81305
145
146
| "ThemeDB"
146
147
=> cfg ! ( before_api = "4.2" ) ,
147
- // reintroduced in 4.3. See: https://github.com/godotengine/godot/pull/80214
148
+
149
+ // Reintroduced in 4.3: https://github.com/godotengine/godot/pull/80214
148
150
| "UniformSetCacheRD"
149
151
=> cfg ! ( before_api = "4.3" ) ,
152
+
150
153
_ => false
151
154
}
152
155
}
Original file line number Diff line number Diff line change @@ -60,11 +60,17 @@ pub fn make_sname_ptr(identifier: &str) -> TokenStream {
60
60
pub fn get_api_level ( class : & JsonClass ) -> ClassCodegenLevel {
61
61
// Work around wrong classification in https://github.com/godotengine/godot/issues/86206.
62
62
fn override_editor ( class_name : & str ) -> bool {
63
- cfg ! ( before_api = "4.3" )
64
- && matches ! (
65
- class_name,
66
- "ResourceImporterOggVorbis" | "ResourceImporterMP3"
67
- )
63
+ match class_name {
64
+ // https://github.com/godotengine/godot/issues/103867
65
+ "OpenXRInteractionProfileEditorBase"
66
+ | "OpenXRInteractionProfileEditor"
67
+ | "OpenXRBindingModifierEditor" => cfg ! ( before_api = "4.5" ) ,
68
+
69
+ // https://github.com/godotengine/godot/issues/86206
70
+ "ResourceImporterOggVorbis" | "ResourceImporterMP3" => cfg ! ( before_api = "4.3" ) ,
71
+
72
+ _ => false ,
73
+ }
68
74
}
69
75
70
76
if special_cases:: is_class_level_server ( & class. name ) {
You can’t perform that action at this time.
0 commit comments