Cleanup: update comments in MANTA_main.cpp

This commit is contained in:
Campbell Barton 2022-08-12 11:03:24 +10:00
parent 42698b2dd9
commit 75c5b21a1c
1 changed files with 2 additions and 2 deletions

View File

@ -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 = "";