diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-01-20 09:54:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-01-20 09:54:38 +0300 |
commit | 3fb8191d1dbd5c50c8bd5b0821e7cf1bb9885736 (patch) | |
tree | 1ee279ecf0b6eeee56f1d5e3378d301ff5893cb9 /source/blender/makesrna/intern/rna_main_api.c | |
parent | 9b70950e3c93986db216c28396aacdd6343a10aa (diff) |
Cleanup: rename lightprobe configure to type_set
Consistent with similar API functions.
Diffstat (limited to 'source/blender/makesrna/intern/rna_main_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_main_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c index cc11263ad5a..9df21a16e90 100644 --- a/source/blender/makesrna/intern/rna_main_api.c +++ b/source/blender/makesrna/intern/rna_main_api.c @@ -675,7 +675,7 @@ static LightProbe *rna_Main_lightprobe_new(Main *bmain, const char *name, int ty LightProbe *probe = BKE_lightprobe_add(bmain, safe_name); - BKE_lightprobe_configure(probe, type); + BKE_lightprobe_type_set(probe, type); id_us_min(&probe->id); return probe; |