Drivers set on dimensions property no longer work inn 2.79 #52908
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#52908
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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
Changed status to: 'Open'
Added subscriber: @ReljaTrajkovic
Added subscriber: @JoshuaLeung
Changed status from 'Open' to: 'Archived'
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: