diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-10 17:09:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 17:09:01 +0200 |
commit | de8522aeb67dde9316f5ad59de7273af4b0abfd2 (patch) | |
tree | 428179c50d5864a657373c6af6db6cc5b179909f /scene | |
parent | 584f1ab0c5c095c7ee6323a0e5f8e2d17fcb8a0f (diff) | |
parent | d789cbeb6b58daf55102460638d48ff9cc0c45ff (diff) |
Merge pull request #21846 from Calinou/tweak-light-instance-error
Tweak the Light instantiation error message and fix a typo
Diffstat (limited to 'scene')
-rw-r--r-- | scene/3d/light.cpp | 2 |
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() { |