Fluid: Fix typos from OpenVDB update

Some typos that were not noticed in 9951858942.
This commit is contained in:
Sebastián Barschkis 2020-06-26 11:47:22 +02:00
parent 646ef49e19
commit 2036b9771e
2 changed files with 2 additions and 2 deletions

View File

@ -1280,7 +1280,7 @@ bool MANTA::readNoise(FluidModifierData *mmd, int framenr, bool resumable)
FluidDomainSettings *mds = mmd->domain;
string directory = getDirectory(mmd, FLUID_DOMAIN_DIR_NOISE);
string resumable_cache = (resumable) ? "False" : "True";
string resumable_cache = (!resumable) ? "False" : "True";
/* Support older caches which had more granular file format control. */
char format = (!strcmp(mds->cache_id, FLUID_CACHE_VERSION)) ? mds->cache_data_format :

View File

@ -551,7 +551,7 @@ const std::string smoke_load_noise =
"\n\
def smoke_load_noise_$ID$(path, framenr, file_format, resumable):\n\
mantaMsg('Smoke load noise')\n\
dict = { **smoke_noise_dict_final_s$ID$, **smoke_data_dict_resume_s$ID$ } if resumable else { **smoke_noise_dict_final_s$ID$ } \n\
dict = { **smoke_noise_dict_final_s$ID$, **smoke_noise_dict_resume_s$ID$ } if resumable else { **smoke_noise_dict_final_s$ID$ } \n\
fluid_file_import_s$ID$(dict=dict, path=path, framenr=framenr, file_format=file_format, file_name=file_noise_s$ID$)\n\
\n\
if resumable:\n\