diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-27 04:02:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-27 04:26:49 +0300 |
commit | 1079742db92576d79ec89a28d95336aff847a82a (patch) | |
tree | 2e440e498c20d3205c2a64eedf4f84bf57abcb84 /source/blender/blenkernel/intern/ipo.c | |
parent | 918941483f7ec5fc6320d345c755e953b963c710 (diff) |
Cleanup: rename lamp -> light
Diffstat (limited to 'source/blender/blenkernel/intern/ipo.c')
-rw-r--r-- | source/blender/blenkernel/intern/ipo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c index b49debc36cc..1813edbafb4 100644 --- a/source/blender/blenkernel/intern/ipo.c +++ b/source/blender/blenkernel/intern/ipo.c @@ -615,7 +615,7 @@ static const char *camera_adrcodes_to_paths(int adrcode, int *array_index) } /* Light Types */ -static const char *lamp_adrcodes_to_paths(int adrcode, int *array_index) +static const char *light_adrcodes_to_paths(int adrcode, int *array_index) { /* set array index like this in-case nothing sets it correctly */ *array_index = 0; @@ -842,8 +842,8 @@ static char *get_rna_access(ID *id, int blocktype, int adrcode, char actname[], propname = camera_adrcodes_to_paths(adrcode, &dummy_index); break; - case ID_LA: /* lamp */ - propname = lamp_adrcodes_to_paths(adrcode, &dummy_index); + case ID_LA: /* light */ + propname = light_adrcodes_to_paths(adrcode, &dummy_index); break; case ID_SO: /* sound */ @@ -1989,7 +1989,7 @@ void do_versions_ipos_to_animato(Main *bmain) } } - /* lamps */ + /* lights */ for (id = bmain->light.first; id; id = id->next) { Light *la = (Light *)id; |