From c2f763a290be4fdf56333b7627f393d9bd0537ca Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 19 Feb 2025 10:39:08 +0100 Subject: [PATCH] Fix #134756: Internal text datablock filepath considered missing When the text datablock was marked as external at one point and the filepath was allocated, it would be considered missing. --- source/blender/blenkernel/intern/text.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/text.cc b/source/blender/blenkernel/intern/text.cc index 425007aa904..26d723820f3 100644 --- a/source/blender/blenkernel/intern/text.cc +++ b/source/blender/blenkernel/intern/text.cc @@ -155,7 +155,7 @@ static void text_foreach_path(ID *id, BPathForeachPathData *bpath_data) { Text *text = (Text *)id; - if (text->filepath != nullptr) { + if (text->filepath != nullptr && text->filepath[0] != '\0') { BKE_bpath_foreach_path_allocated_process(bpath_data, &text->filepath); } }