Page MenuHome

Fix T81656: Crash relocating a linked library into the current .blend
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Oct 13 2020, 11:44 AM.

Details

Summary

A .blend file cannot use itself as a library.
This is prevented when linking manually, but was still possible when
relocating, which is now prevented.

Diff Detail

Repository
rB Blender

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Oct 13 2020, 11:44 AM
Philipp Oeser (lichtwerk) created this revision.

Besides note below, LGTM

source/blender/windowmanager/intern/wm_files_link.c
1060

Please use API BKE_main_blendfile_path

This revision is now accepted and ready to land.Oct 13 2020, 1:53 PM