summaryrefslogtreecommitdiff
path: root/scene/3d/light_3d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-30 18:22:57 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-03-30 18:23:02 +0200
commiteaaee63b629d6999fcc0c84e38886b964f6d051d (patch)
tree136e327aa916afe2255bcf5d718963f2b1a84a4b /scene/3d/light_3d.cpp
parent0168709978154a89f137b44f33647e5d28a46250 (diff)
doc: Update classref with node renames
A few extra renames for classes which were missed in last week's PRs.
Diffstat (limited to 'scene/3d/light_3d.cpp')
-rw-r--r--scene/3d/light_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/light_3d.cpp b/scene/3d/light_3d.cpp
index 7fc7fe2bf5..be3b369724 100644
--- a/scene/3d/light_3d.cpp
+++ b/scene/3d/light_3d.cpp
@@ -336,7 +336,7 @@ Light3D::Light3D(RenderingServer::LightType p_type) {
Light3D::Light3D() {
type = RenderingServer::LIGHT_DIRECTIONAL;
- ERR_PRINT("Light should not be instanced directly; use the DirectionalLight, OmniLight or SpotLight subtypes instead.");
+ ERR_PRINT("Light3D should not be instanced directly; use the DirectionalLight3D, OmniLight3D or SpotLight3D subtypes instead.");
}
Light3D::~Light3D() {
@@ -464,7 +464,7 @@ String SpotLight3D::get_configuration_warning() const {
warning += "\n\n";
}
- warning += TTR("A SpotLight with an angle wider than 90 degrees cannot cast shadows.");
+ warning += TTR("A SpotLight3D with an angle wider than 90 degrees cannot cast shadows.");
}
return warning;