Ease drivers don't migrate to new Bendy Bones (datapath change, backwards-compatibility broken) #49288

Closed
opened 2016-09-07 23:25:50 +02:00 by Adrian Winchell · 4 comments

System Information
Windows 10, GeForce GTX 960

Blender Version
Broken: 2.78RC 0e5089c
Worked: 2.77a abf6f08

Drivers assigned to bone eases in the previous release disappear when opened in the release candidate (2.78RC)
Example:

  • Create a 3-segment bone in 2.77a, and in pose mode, assign a simple driver to the ease out. (my example: "#1.5" typed into the field)
  • Save and open in 2.78RC

The bone has the value last assigned to it by the driver, but the driver itself has vanished.

I'm guessing this is due to the datapath change of this property in the new version:
2.77a: bpy.data.armatures["Armature"].bones["Bone"].bbone_out
2.78RC: bpy.data.objects["Armature"].pose.bones["Bone"].bone.bbone_out

The driver reappears even if the file is saved in 2.78RC, then reopened in 2.77a, suggesting it isn't removed from the file, just no longer interpreted by the program. In fact, it appears in the graph editor for drivers in both versions, and if a new driver is added to the ease in 2.78RC, both drivers will appear in the graph editor even though only one is affecting anything.

Here is a sample file with the above-mentioned driver saved to the bone only in 2.77a:
http://pasteall.org/blend/index.php?id=43433

**System Information** Windows 10, GeForce GTX 960 **Blender Version** Broken: 2.78RC 0e5089c Worked: 2.77a abf6f08 Drivers assigned to bone eases in the previous release disappear when opened in the release candidate (2.78RC) Example: - Create a 3-segment bone in 2.77a, and in pose mode, assign a simple driver to the ease out. (my example: "#1.5" typed into the field) - Save and open in 2.78RC # The bone has the value last assigned to it by the driver, but the driver itself has vanished. I'm guessing this is due to the datapath change of this property in the new version: 2.77a: bpy.data.armatures["Armature"].bones["Bone"].bbone_out 2.78RC: bpy.data.objects["Armature"].pose.bones["Bone"].bone.bbone_out The driver reappears even if the file is saved in 2.78RC, then reopened in 2.77a, suggesting it isn't removed from the file, just no longer interpreted by the program. In fact, it appears in the graph editor for drivers in both versions, and if a new driver is added to the ease in 2.78RC, *both* drivers will appear in the graph editor even though only one is affecting anything. Here is a sample file with the above-mentioned driver saved to the bone only in 2.77a: http://pasteall.org/blend/index.php?id=43433

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @snapai

Added subscriber: @snapai
Joshua Leung was assigned by Bastien Montagne 2016-09-08 09:31:55 +02:00
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

Technically, the old driver is still there, and should still work perfectly fine.

What has changed is that now, instead of accessing this property via the Armature datablock (i.e. armature -> bone -> property), we're now accessing it via the Object/Pose object (i.e. object -> pose -> posebone -> bone -> property). Fundamentally, it's still just accessing the very same property on the Bone struct.

This change was necessary / desireable as, if we kept it the old way, animators working with Bendy Bones would end up with the Ease In/Out properties getting keyed in a separate action attached to the Armature instead of the Object (where the rest of the character's animation is located). There are obvious downsides with that, hence the change.

So, IMO the resolution here is really that we just need to add a note in the release notes to this effect.

Technically, the old driver is still there, and should still work perfectly fine. What has changed is that now, instead of accessing this property via the Armature datablock (i.e. armature -> bone -> property), we're now accessing it via the Object/Pose object (i.e. object -> pose -> posebone -> bone -> property). Fundamentally, it's still just accessing the very same property on the Bone struct. This change was necessary / desireable as, if we kept it the old way, animators working with Bendy Bones would end up with the Ease In/Out properties getting keyed in a separate action attached to the Armature instead of the Object (where the rest of the character's animation is located). There are obvious downsides with that, hence the change. So, IMO the resolution here is really that we just need to add a note in the release notes to this effect.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
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#49288
No description provided.