[Bf-blender-cvs] [7e20d6930d9] blender-v2.82-release: Fluid: Additional fix for relative cache paths

Sebastián Barschkis noreply at git.blender.org
Wed Jan 15 16:35:26 CET 2020


Commit: 7e20d6930d91b4a62e076b6593ebbf984816f04d
Author: Sebastián Barschkis
Date:   Wed Jan 15 16:32:39 2020 +0100
Branches: blender-v2.82-release
https://developer.blender.org/rB7e20d6930d91b4a62e076b6593ebbf984816f04d

Fluid: Additional fix for relative cache paths

===================================================================

M	source/blender/editors/physics/physics_fluid.c

===================================================================

diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c
index 2bad28bd83d..9cc26920251 100644
--- a/source/blender/editors/physics/physics_fluid.c
+++ b/source/blender/editors/physics/physics_fluid.c
@@ -215,8 +215,6 @@ static bool fluid_validatepaths(FluidJob *job, ReportList *reports)
                 temp_dir,
                 mds->cache_directory);
 
-    BLI_strncpy(temp_dir, mds->cache_directory, FILE_MAXDIR);
-
     /* Ensure whole path exists and is writable. */
     if (!BLI_dir_create_recursive(temp_dir)) {
       BKE_reportf(reports,



More information about the Bf-blender-cvs mailing list