diff options
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 83d14761daa..8837dccb837 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -5316,6 +5316,12 @@ static void lib_link_object(FileData *fd, Main *bmain, Object *ob) /* Flag for refreshing the simulation after loading */ mmd->domain->flags |= FLUID_DOMAIN_FILE_LOAD; } + else if (mmd && (mmd->type == MOD_FLUID_TYPE_FLOW) && mmd->flow) { + mmd->flow->flags &= ~FLUID_FLOW_NEEDS_UPDATE; + } + else if (mmd && (mmd->type == MOD_FLUID_TYPE_EFFEC) && mmd->effector) { + mmd->effector->flags &= ~FLUID_EFFECTOR_NEEDS_UPDATE; + } } /* texture field */ |