summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-10 17:09:01 +0200
committerGitHub <noreply@github.com>2018-09-10 17:09:01 +0200
commitde8522aeb67dde9316f5ad59de7273af4b0abfd2 (patch)
tree428179c50d5864a657373c6af6db6cc5b179909f
parent584f1ab0c5c095c7ee6323a0e5f8e2d17fcb8a0f (diff)
parentd789cbeb6b58daf55102460638d48ff9cc0c45ff (diff)
Merge pull request #21846 from Calinou/tweak-light-instance-error
Tweak the Light instantiation error message and fix a typo
-rw-r--r--scene/3d/light.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/light.cpp b/scene/3d/light.cpp
index 16164cf3bf..762e090590 100644
--- a/scene/3d/light.cpp
+++ b/scene/3d/light.cpp
@@ -312,7 +312,7 @@ Light::Light(VisualServer::LightType p_type) {
Light::Light() {
type = VisualServer::LIGHT_DIRECTIONAL;
- ERR_PRINT("Light shouldn't be instanced dircetly, use the subtypes.");
+ ERR_PRINT("Light should not be instanced directly; use the DirectionalLight, OmniLight or SpotLight subtypes instead.");
}
Light::~Light() {