diff options
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 83346dc8b04..398847348cc 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -1476,8 +1476,8 @@ static void write_modifiers(WriteData *wd, ListBase *modbase) } else if(md->type==eModifierType_LaplacianDeform) { LaplacianDeformModifierData *lmd = (LaplacianDeformModifierData*) md; - - writedata(wd, DATA, sizeof(float)*lmd->total_verts*3, lmd->vertexco); + + writedata(wd, DATA, sizeof(float)*lmd->total_verts * 3, lmd->vertexco); } } } @@ -3479,7 +3479,7 @@ int BLO_write_file(Main *mainvar, const char *filepath, int write_flags, ReportL BLI_cleanup_dir(mainvar->name, dir1); BLI_cleanup_dir(mainvar->name, dir2); - if (BLI_path_cmp(dir1, dir2)==0) { + if (G.relbase_valid && (BLI_path_cmp(dir1, dir2) == 0)) { write_flags &= ~G_FILE_RELATIVE_REMAP; } else { |