Fix T50331: New Dependency Graph - "frame" python driver expression not working
This commit is contained in:
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
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue