Drivers set on dimensions property no longer work inn 2.79 #52908

Closed
opened 2017-09-26 14:14:13 +02:00 by Relja Trajković · 5 comments

System Information
Windows 10, NVidia GTX970

Blender Version
Broken: 2.79
Worked: 2.74

Short description of error
I have a series of motion graphics templates that were created in earlier Blender versions. I know it worked fine in 2.74, and now with 2.79 drivers report invalid python expression. Expression is this:

text_width+(text_width*0.25)

where text_width is variable taking dimensions.x value from a text object. Driver is influencing dimensions.x of an object based on text object dimensions.x. Value is calculated and displayed correctly in debug info, but driver doesn't execute.

What I found out is that I can no longer set a driver for dimensions and that is most likely causing this issue.

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

Just create two cubes in previous version of Blender (I used 2.74) and set a single driver on X dimension property on second one (Cube.001). go to driver setup in graph editor, and set default var variable to be single property dimension.x of first Cube object. Use simple expression as driver and just type in "var". Scaling Cube, makes Cube.001 scale too as long as autoexecute python scripts is enabled.

Load that into 2.79 and it doesn't work. With Cube.001 selected, go to graph editor where dimensions.x driver is clearly listeg, but it says it's "Invalid Python Expression".

Attached .blend is done in 2.74.dimensions_driver.blend

**System Information** Windows 10, NVidia GTX970 **Blender Version** Broken: 2.79 Worked: 2.74 **Short description of error** I have a series of motion graphics templates that were created in earlier Blender versions. I know it worked fine in 2.74, and now with 2.79 drivers report invalid python expression. Expression is this: ``` text_width+(text_width*0.25) ``` where text_width is variable taking dimensions.x value from a text object. Driver is influencing dimensions.x of an object based on text object dimensions.x. Value is calculated and displayed correctly in debug info, but driver doesn't execute. What I found out is that I can no longer set a driver for dimensions and that is most likely causing this issue. **Exact steps for others to reproduce the error** Based on a (as simple as possible) attached .blend file with minimum amount of steps Just create two cubes in previous version of Blender (I used 2.74) and set a single driver on X dimension property on second one (Cube.001). go to driver setup in graph editor, and set default **var** variable to be single property dimension.x of first **Cube** object. Use simple expression as driver and just type in "var". Scaling Cube, makes Cube.001 scale too as long as autoexecute python scripts is enabled. Load that into 2.79 and it doesn't work. With Cube.001 selected, go to graph editor where dimensions.x driver is clearly listeg, but it says it's "Invalid Python Expression". Attached .blend is done in 2.74.[dimensions_driver.blend](https://archive.blender.org/developer/F877894/dimensions_driver.blend)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @ReljaTrajkovic

Added subscriber: @ReljaTrajkovic
Member

Added subscriber: @JoshuaLeung

Added subscriber: @JoshuaLeung
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Joshua Leung self-assigned this 2017-09-27 00:17:30 +02:00
Member

Unforunately, it is no longer possible to animate/drive dimension settings, as those settings were conflicting with the scale properties and causing issues during playback.

For more information, see:

Unforunately, it is no longer possible to animate/drive dimension settings, as those settings were conflicting with the scale properties and causing issues during playback. For more information, see: * blender/blender#48578 * blender/blender@9d090ed1cd
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#52908
No description provided.