From 3051e2f4ae8fd3e72a43dd1e5d40893d0efec500 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 27 Feb 2019 10:46:48 +1100 Subject: DNA: rename Lamp -> Light - BKE_lamp -> BKE_light - Main.lamp -> light --- source/blender/blenloader/intern/writefile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenloader/intern/writefile.c') diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 8be13c102e0..6240fa62e34 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -2368,11 +2368,11 @@ static void write_world(WriteData *wd, World *wrld) } } -static void write_lamp(WriteData *wd, Lamp *la) +static void write_lamp(WriteData *wd, Light *la) { if (la->id.us > 0 || wd->use_memfile) { /* write LibData */ - writestruct(wd, ID_LA, Lamp, 1, la); + writestruct(wd, ID_LA, Light, 1, la); write_iddata(wd, &la->id); if (la->adt) { @@ -3934,7 +3934,7 @@ static bool write_file_handle( write_camera(wd, (Camera *)id); break; case ID_LA: - write_lamp(wd, (Lamp *)id); + write_lamp(wd, (Light *)id); break; case ID_LT: write_lattice(wd, (Lattice *)id); -- cgit v1.2.3