summaryrefslogtreecommitdiffstats
path: root/scene/3d/light_3d.h
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2022-06-23 08:19:18 +0200
committerreduz <reduzio@gmail.com>2022-06-23 08:19:18 +0200
commitd69e3791bf41dca6c29a9eb24bb92648cce2d692 (patch)
treea8ca3ff213aad1d5d8210a608092d4ed33b9f637 /scene/3d/light_3d.h
parentabb92861f44427e9376fab9ee2f414f14848d6b5 (diff)
downloadredot-engine-d69e3791bf41dca6c29a9eb24bb92648cce2d692.tar.gz
Fix editor-only visibility for lights
* Update visibility again for editor-only lights if owner changes. Fixes #26399, supersedes #52327
Diffstat (limited to 'scene/3d/light_3d.h')
-rw-r--r--scene/3d/light_3d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/light_3d.h b/scene/3d/light_3d.h
index 383fa644e5..6ff332df5a 100644
--- a/scene/3d/light_3d.h
+++ b/scene/3d/light_3d.h
@@ -85,6 +85,8 @@ private:
// bind helpers
+ virtual void owner_changed_notify() override;
+
protected:
RID light;