Correct comments

This commit is contained in:
2016-02-25 10:37:22 +11:00
parent 1a7b9ce006
commit a21c6b5f59
2 changed files with 4 additions and 2 deletions

View File

@@ -259,7 +259,7 @@ float BPY_driver_exec(ChannelDriver *driver, const float evaltime)
}
/* add target values to a dict that will be used as '__locals__' dict */
driver_vars = PyDict_New(); // XXX do we need to decref this?
driver_vars = PyDict_New();
for (dvar = driver->variables.first, i = 0; dvar; dvar = dvar->next) {
PyObject *driver_arg = NULL;
float tval = 0.0f;