Mantaflow: disable call to MANTA::terminateMantaflow

Effectively revert [0] as it ran when freeing individual modifiers,
causing a crash on exit in one of the cycles_volume_cpu tests.

[0]: 6777c420db
This commit is contained in:
Campbell Barton 2022-06-29 17:34:39 +10:00
parent 66f826ae85
commit b1163d2198
1 changed files with 6 additions and 0 deletions

View File

@ -562,7 +562,13 @@ MANTA::~MANTA()
pythonCommands.push_back(finalString);
result = runPythonString(pythonCommands);
/* WARNING: this causes crash on exit in the `cycles_volume_cpu/smoke_color` test,
* freeing a single modifier ends up clearing the shared module.
* For this to be handled properly there would need to be a initialize/free
* function for global data. */
#if 0
MANTA::terminateMantaflow();
#endif
BLI_assert(result);
UNUSED_VARS(result);