Merge pull request #41476 from nekomatata/subviewport-node-compatibility

Add Viewport/SubViewport node compatibility
This commit is contained in:
Rémi Verschelde 2020-08-24 18:02:07 +02:00 committed by GitHub
commit ba7738a3b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -880,6 +880,7 @@ void register_scene_types() {
ClassDB::add_compatibility_class("VehicleBody", "VehicleBody3D");
ClassDB::add_compatibility_class("VehicleWheel", "VehicleWheel3D");
ClassDB::add_compatibility_class("ViewportContainer", "SubViewportContainer");
ClassDB::add_compatibility_class("Viewport", "SubViewport");
ClassDB::add_compatibility_class("VisibilityEnabler", "VisibilityEnabler3D");
ClassDB::add_compatibility_class("VisibilityNotifier", "VisibilityNotifier3D");
ClassDB::add_compatibility_class("VisualServer", "RenderingServer");