diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-12 04:03:24 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-12 04:03:24 +0300 |
commit | 75c5b21a1c93cf595da7daaffadb1f0c58ee04d5 (patch) | |
tree | 4ef11c58bda2705654a0de3038f75b6d9f1d1883 /intern/mantaflow | |
parent | 42698b2dd97c19f79e0ca430634a56b065182ec6 (diff) |
Cleanup: update comments in MANTA_main.cpp
Diffstat (limited to 'intern/mantaflow')
-rw-r--r-- | intern/mantaflow/intern/MANTA_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 = ""; |