diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-09-09 22:39:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 22:39:29 +0200 |
commit | ab7e7b8116be3f9c7e9a6ad9ef07c3c08936d8b6 (patch) | |
tree | 9ccaa24fb75a3b61c9b2e2afd3956abe0b4969a2 /scene/register_scene_types.cpp | |
parent | 9a1173c02425ef349dff2fe74e6f595cec73201b (diff) | |
parent | 3e0226515eec5f904701fce36c7856617d3ca6b8 (diff) | |
download | redot-engine-ab7e7b8116be3f9c7e9a6ad9ef07c3c08936d8b6.tar.gz |
Merge pull request #41926 from Calinou/rename-shortcut-sentence-case
Rename ShortCut to Shortcut which is more grammatically correct
Diffstat (limited to 'scene/register_scene_types.cpp')
-rw-r--r-- | scene/register_scene_types.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp index af900a22db..39749bcf6f 100644 --- a/scene/register_scene_types.cpp +++ b/scene/register_scene_types.cpp @@ -295,7 +295,7 @@ void register_scene_types() { OS::get_singleton()->yield(); //may take time to init - ClassDB::register_class<ShortCut>(); + ClassDB::register_class<Shortcut>(); ClassDB::register_class<Control>(); ClassDB::register_class<Button>(); ClassDB::register_class<Label>(); @@ -871,6 +871,7 @@ void register_scene_types() { ClassDB::add_compatibility_class("RemoteTransform", "RemoteTransform3D"); ClassDB::add_compatibility_class("RigidBody", "RigidBody3D"); ClassDB::add_compatibility_class("Shape", "Shape3D"); + ClassDB::add_compatibility_class("ShortCut", "Shortcut"); ClassDB::add_compatibility_class("Skeleton", "Skeleton3D"); ClassDB::add_compatibility_class("SkeletonIK", "SkeletonIK3D"); ClassDB::add_compatibility_class("SliderJoint", "SliderJoint3D"); |