Fix T50331: New Dependency Graph - "frame" python driver expression not working

This commit is contained in:
Sergey Sharybin 2017-01-31 12:17:42 +01:00
parent 326516c9d7
commit a90622ce93
Notes: blender-bot 2023-02-14 07:18:54 +01:00
Referenced by issue #50331, New Dependency Graph - "frame" python driver expression not working
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@ static bool python_driver_depends_on_time(ChannelDriver *driver)
/* Function calls are considered dependent on a time. */
return true;
}
if (strstr(driver->expression, "time") != NULL) {
/* Variable `time` depends on time. */
if (strstr(driver->expression, "frame") != NULL) {
/* Variable `frame` depends on time. */
/* TODO(sergey): This is a bit weak, but not sure about better way of
* handling this.
*/