Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-27 04:02:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-27 04:26:49 +0300
commit1079742db92576d79ec89a28d95336aff847a82a (patch)
tree2e440e498c20d3205c2a64eedf4f84bf57abcb84 /source/blender/blenloader/intern/writefile.c
parent918941483f7ec5fc6320d345c755e953b963c710 (diff)
Cleanup: rename lamp -> light
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r--source/blender/blenloader/intern/writefile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 6240fa62e34..42a39ddeca9 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -2368,7 +2368,7 @@ static void write_world(WriteData *wd, World *wrld)
}
}
-static void write_lamp(WriteData *wd, Light *la)
+static void write_light(WriteData *wd, Light *la)
{
if (la->id.us > 0 || wd->use_memfile) {
/* write LibData */
@@ -2383,7 +2383,7 @@ static void write_lamp(WriteData *wd, Light *la)
write_curvemapping(wd, la->curfalloff);
}
- /* nodetree is integral part of lamps, no libdata */
+ /* Node-tree is integral part of lights, no libdata. */
if (la->nodetree) {
writestruct(wd, DATA, bNodeTree, 1, la->nodetree);
write_nodetree_nolib(wd, la->nodetree);
@@ -3934,7 +3934,7 @@ static bool write_file_handle(
write_camera(wd, (Camera *)id);
break;
case ID_LA:
- write_lamp(wd, (Light *)id);
+ write_light(wd, (Light *)id);
break;
case ID_LT:
write_lattice(wd, (Lattice *)id);