diff --git a/source/blender/makesrna/intern/rna_userdef.cc b/source/blender/makesrna/intern/rna_userdef.cc index 239e7ac38b8..dd3180572a6 100644 --- a/source/blender/makesrna/intern/rna_userdef.cc +++ b/source/blender/makesrna/intern/rna_userdef.cc @@ -532,9 +532,11 @@ static bUserExtensionRepo *rna_userdef_extension_repo_new(const char *name, if (remote_path) { STRNCPY(repo->remote_path, remote_path); - repo->flag |= USER_EXTENSION_REPO_FLAG_USE_REMOTE_PATH; } + if (repo->remote_path[0]) { + repo->flag |= USER_EXTENSION_REPO_FLAG_USE_REMOTE_PATH; + } if (repo->custom_dirpath[0]) { repo->flag |= USER_EXTENSION_REPO_FLAG_USE_CUSTOM_DIRECTORY; }