diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-12 13:59:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-12 14:34:55 +0300 |
commit | f52dc2f371923c22a974df7105245f7e0b8148ee (patch) | |
tree | bd65af657cf7f06fdb01ee953182562c69189fed /source/blender/blenloader/intern/writefile.c | |
parent | 12bd960df9bb9d96477b9913df8aec6fc7d87f95 (diff) |
Rename probe to light-probe
Probe is a real general term, the new name is used often in docs online.
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index ace66c97d9a..9acd868daba 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -135,7 +135,7 @@ #include "DNA_object_force.h" #include "DNA_packedFile_types.h" #include "DNA_particle_types.h" -#include "DNA_probe_types.h" +#include "DNA_lightprobe_types.h" #include "DNA_property_types.h" #include "DNA_rigidbody_types.h" #include "DNA_scene_types.h" @@ -3202,11 +3202,11 @@ static void write_sound(WriteData *wd, bSound *sound) } } -static void write_probe(WriteData *wd, Probe *prb) +static void write_probe(WriteData *wd, LightProbe *prb) { if (prb->id.us > 0 || wd->current) { /* write LibData */ - writestruct(wd, ID_PRB, Probe, 1, prb); + writestruct(wd, ID_LP, LightProbe, 1, prb); write_iddata(wd, &prb->id); if (prb->adt) { @@ -3998,8 +3998,8 @@ static bool write_file_handle( case ID_SPK: write_speaker(wd, (Speaker *)id); break; - case ID_PRB: - write_probe(wd, (Probe *)id); + case ID_LP: + write_probe(wd, (LightProbe *)id); break; case ID_SO: write_sound(wd, (bSound *)id); |