[Bf-blender-cvs] [a857610793b] temp-eevee-next-cryptomatte: Fix T90706: crash when deleting fluid sim geometry

Sonny Campbell noreply at git.blender.org
Tue Aug 23 12:59:55 CEST 2022


Commit: a857610793b711893b2e7591479154eae765de44
Author: Sonny Campbell
Date:   Mon Aug 22 16:00:39 2022 +0200
Branches: temp-eevee-next-cryptomatte
https://developer.blender.org/rBa857610793b711893b2e7591479154eae765de44

Fix T90706: crash when deleting fluid sim geometry

Differential Revision: https://developer.blender.org/D15299

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

M	intern/mantaflow/intern/strings/fluid_script.h

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

diff --git a/intern/mantaflow/intern/strings/fluid_script.h b/intern/mantaflow/intern/strings/fluid_script.h
index 548606f1b32..904f4200b2d 100644
--- a/intern/mantaflow/intern/strings/fluid_script.h
+++ b/intern/mantaflow/intern/strings/fluid_script.h
@@ -14,6 +14,7 @@
 const std::string manta_import =
     "\
 from manta import *\n\
+from math import inf\n\
 import os.path, shutil, math, sys, gc, multiprocessing, platform, time\n\
 \n\
 withMPBake = False # Bake files asynchronously\n\



More information about the Bf-blender-cvs mailing list