Correct comments
This commit is contained in:
@@ -409,7 +409,9 @@ void curvemap_sethandle(CurveMap *cuma, int type)
|
||||
|
||||
/* *********************** Making the tables and display ************** */
|
||||
|
||||
/* reduced copy of garbled calchandleNurb() code in curve.c */
|
||||
/**
|
||||
* reduced copy of #calchandleNurb_intern code in curve.c
|
||||
*/
|
||||
static void calchandle_curvemap(BezTriple *bezt, BezTriple *prev, BezTriple *next, int UNUSED(mode))
|
||||
{
|
||||
float *p1, *p2, *p3, pt[3];
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user