forked from bartvdbraak/blender
Bugfix #7631
Outliner: change name of library path to become relative gave incorrect warning.
This commit is contained in:
parent
c6667c53e3
commit
ca9db6ef25
@ -3379,7 +3379,7 @@ static void namebutton_cb(void *tep, void *oldnamep)
|
||||
if (te->idcode == ID_LI) {
|
||||
char expanded[FILE_MAXDIR + FILE_MAXFILE];
|
||||
BLI_strncpy(expanded, ((Library *)tselem->id)->name, FILE_MAXDIR + FILE_MAXFILE);
|
||||
|
||||
BLI_convertstringcode(expanded, G.sce, G.scene->r.cfra);
|
||||
if (!BLI_exists(expanded)) {
|
||||
error("This path does not exist, correct this before saving");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user