diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 17:18:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 17:18:15 +0300 |
commit | 56173e512cab020a5bc96e6d3069641a03d47fbe (patch) | |
tree | 112fcb93a1898fadb34c2b74ae32471a6364a969 /source/blender/editors/sound/sound_ops.c | |
parent | 6855d537e3112f7ba4d84524d06a524b0ea9f7b1 (diff) | |
parent | a0a1fc89387f0f1396b5e4320c2dd4a6fedd1c25 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/sound/sound_ops.c')
-rw-r--r-- | source/blender/editors/sound/sound_ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c index b7a80a92998..049feea2d8a 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -455,10 +455,10 @@ static bool sound_mixdown_check(bContext *UNUSED(C), wmOperator *op) prop = RNA_struct_find_property(op->ptr, "filepath"); RNA_property_string_get(op->ptr, prop, filepath); - if (BLI_testextensie_array(filepath, snd_ext_sound)) - check = BLI_replace_extension(filepath, FILE_MAX, extension); + if (BLI_path_extension_check_array(filepath, snd_ext_sound)) + check = BLI_path_extension_replace(filepath, FILE_MAX, extension); else - check = BLI_ensure_extension(filepath, FILE_MAX, extension); + check = BLI_path_extension_ensure(filepath, FILE_MAX, extension); if (!check) return check; |