Bugfix #7631
authorTon Roosendaal <ton@blender.org>
Thu, 15 Nov 2007 13:38:35 +0000 (13:38 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 15 Nov 2007 13:38:35 +0000 (13:38 +0000)
Outliner: change name of library path to become relative gave
incorrect warning.

source/blender/src/outliner.c

index aa5fd0d409be5ccccd63c9fb262bebcc33f2cf63..3e969e4ca9c1c41e5d28ec94feb424d9b97e5a1c 100644 (file)
@@ -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");
                                }