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:
authorJesse Yurkovich <jesse.y@gmail.com>2022-09-09 09:05:35 +0300
committerJesse Yurkovich <jesse.y@gmail.com>2022-09-10 06:12:47 +0300
commit099ae99589bf21e03bbf380613438114953dd8ea (patch)
tree9cc5ce8d5e2637b950546ef85707ae1eeec1848c
parent352d55b1c88776e52050db1adc6a5aa1da13596e (diff)
Fix: Missed return in ASSET_OT_bundle_install item enumerator
Discovered from inspection. Differential Revision: https://developer.blender.org/D15699
-rw-r--r--source/blender/editors/asset/intern/asset_ops.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/asset/intern/asset_ops.cc b/source/blender/editors/asset/intern/asset_ops.cc
index 05d0b7d0af4..ba7b56db3ec 100644
--- a/source/blender/editors/asset/intern/asset_ops.cc
+++ b/source/blender/editors/asset/intern/asset_ops.cc
@@ -781,6 +781,7 @@ static const EnumPropertyItem *rna_asset_library_reference_itemf(bContext *UNUSE
const EnumPropertyItem *items = ED_asset_library_reference_to_rna_enum_itemf(false);
if (!items) {
*r_free = false;
+ return nullptr;
}
*r_free = true;