Page MenuHome

New Depsgraph - Driver using "self" needs reloading file to work.
Closed, ResolvedPublic

Description

System Information
Debian Mate 9, nVidia GT620

Blender Version
Broken: from 2.78, when self was implemented.
Worked: none

Short description of error
A keyframed "Restrict Render" is driving "Restrict View", using "self.hide_render" in Scripted Expression ("use self" is checked). When copying this drive and pasting in another object, this driver will not work till reload the file.

Exact steps for others to reproduce the error
Run Blender with new DepsGraph. Open file, check the animation of both objects ("Restrict Render" is animated").
Restrict View of Cube.001 has a drive. Copy this drive and paste it in Restrict View of Cube. Move along timeline. As it uses self, Cube should respect its own Restrict Render, but it doesn't.

Run Blender with traditional DepsGraph, open the file, do the same steps. Restrict View start working properly inmediatly.

Related Objects