[Bf-blender-cvs] [75c5b21a1c9] master: Cleanup: update comments in MANTA_main.cpp

Campbell Barton noreply at git.blender.org
Fri Aug 12 03:05:05 CEST 2022


Commit: 75c5b21a1c93cf595da7daaffadb1f0c58ee04d5
Author: Campbell Barton
Date:   Fri Aug 12 11:03:24 2022 +1000
Branches: master
https://developer.blender.org/rB75c5b21a1c93cf595da7daaffadb1f0c58ee04d5

Cleanup: update comments in MANTA_main.cpp

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

M	intern/mantaflow/intern/MANTA_main.cpp

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

diff --git a/intern/mantaflow/intern/MANTA_main.cpp b/intern/mantaflow/intern/MANTA_main.cpp
index fc14c909f4d..f5f22dc700b 100644
--- a/intern/mantaflow/intern/MANTA_main.cpp
+++ b/intern/mantaflow/intern/MANTA_main.cpp
@@ -626,7 +626,7 @@ static void manta_python_main_module_restore(PyObject *main_mod)
  * access these variables, the same __main__ module has to be used every time.
  *
  * Unfortunately, we also depend on the fact that mantaflow dumps variables into this module using
- * PyRun_SimpleString. So we can't easily create a separate module without changing mantaflow.
+ * #PyRun_String. So we can't easily create a separate module without changing mantaflow.
  */
 static PyObject *manta_main_module = nullptr;
 
@@ -1161,7 +1161,7 @@ string MANTA::parseScript(const string &setup_string, FluidModifierData *fmd)
   return res.str();
 }
 
-/* Dirty hack: Needed to format paths from python code that is run via PyRun_SimpleString */
+/** Dirty hack: Needed to format paths from python code that is run via #PyRun_String. */
 static string escapePath(string const &s)
 {
   string result = "";



More information about the Bf-blender-cvs mailing list