Cleanup: update comments in MANTA_main.cpp
This commit is contained in:
parent
42698b2dd9
commit
75c5b21a1c
|
@ -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 = "";
|
||||
|
|
Loading…
Reference in New Issue