Merge pull request #65399 from Chaosus/vs_fix

Add compatibility class for `VisualShaderNodeFloatUniform`
This commit is contained in:
Rémi Verschelde 2022-09-06 07:41:11 +02:00 committed by GitHub
commit ae5d038df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1130,6 +1130,7 @@ void register_scene_types() {
ClassDB::add_compatibility_class("StreamTexture2DArray", "CompressedTexture2DArray"); ClassDB::add_compatibility_class("StreamTexture2DArray", "CompressedTexture2DArray");
ClassDB::add_compatibility_class("StreamTexture3D", "CompressedTexture3D"); ClassDB::add_compatibility_class("StreamTexture3D", "CompressedTexture3D");
ClassDB::add_compatibility_class("StreamTextureLayered", "CompressedTextureLayered"); ClassDB::add_compatibility_class("StreamTextureLayered", "CompressedTextureLayered");
ClassDB::add_compatibility_class("VisualShaderNodeFloatUniform", "VisualShaderNodeFloatParameter");
#endif /* DISABLE_DEPRECATED */ #endif /* DISABLE_DEPRECATED */
OS::get_singleton()->yield(); // may take time to init OS::get_singleton()->yield(); // may take time to init