From df863cf7ee43d6c488920996ab477387379d0ad5 Mon Sep 17 00:00:00 2001 From: NutmegStudio <62319714+NutmegStudio@users.noreply.github.com> Date: Wed, 15 Apr 2020 14:09:48 +0700 Subject: Fix typo in light3d (Texture -> Texture2D) --- scene/3d/light_3d.cpp | 2 +- scene/3d/light_3d.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scene/3d/light_3d.cpp b/scene/3d/light_3d.cpp index bd95a0bfdc..9928246d2b 100644 --- a/scene/3d/light_3d.cpp +++ b/scene/3d/light_3d.cpp @@ -166,7 +166,7 @@ Light3D::BakeMode Light3D::get_bake_mode() const { return bake_mode; } -void Light3D::set_projector(const Ref &p_texture) { +void Light3D::set_projector(const Ref &p_texture) { projector = p_texture; RID tex_id = projector.is_valid() ? projector->get_rid() : RID(); diff --git a/scene/3d/light_3d.h b/scene/3d/light_3d.h index f939d56a70..6e78217342 100644 --- a/scene/3d/light_3d.h +++ b/scene/3d/light_3d.h @@ -126,7 +126,7 @@ public: void set_bake_mode(BakeMode p_mode); BakeMode get_bake_mode() const; - void set_projector(const Ref &p_texture); + void set_projector(const Ref &p_texture); Ref get_projector() const; virtual AABB get_aabb() const; -- cgit v1.2.3