diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-05 13:26:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-05 13:27:15 +0300 |
commit | 1517fa43097a3925b5fd1d4b8738fd56fde17bc8 (patch) | |
tree | 0f2786d60779052e956680e39b97b4c6e4fc7f89 | |
parent | 03ef9f32148acb45c4940cf93d7d8afb850231d0 (diff) |
Fix build w/o fluidsim
-rw-r--r-- | source/blender/modifiers/intern/MOD_fluidsim_util.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_fluidsim_util.c b/source/blender/modifiers/intern/MOD_fluidsim_util.c index 963296f80f6..edd7a7a331c 100644 --- a/source/blender/modifiers/intern/MOD_fluidsim_util.c +++ b/source/blender/modifiers/intern/MOD_fluidsim_util.c @@ -464,8 +464,8 @@ static Mesh *fluidsim_read_cache( BLI_path_abs(targetFile, modifier_path_relbase_from_global(ob)); BLI_path_frame(targetFile, curFrame, 0); // fixed #frame-no - /* assign material + flags to new dm - * if there's no faces in original dm, keep materials and flags unchanged */ + /* assign material + flags to new mesh. + * if there's no faces in original mesh, keep materials and flags unchanged */ mpoly = orgmesh->mpoly; if (mpoly) { mp_example = *mpoly; @@ -489,7 +489,7 @@ static Mesh *fluidsim_read_cache( } } - /* display org. object upon failure which is in dm */ + /* display org. object upon failure which is in new mesh */ return NULL; } @@ -555,7 +555,6 @@ Mesh *fluidsimModifier_do( /* unused */ (void)fluidmd; (void)ctx; - (void)dm; return NULL; #endif } |