removing a constraint doesn't remove any drivers in use by the constraint, resulting in an invalid driver warning in the console. #106380

Closed
opened 2023-03-31 14:11:26 +02:00 by michael campbell · 2 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 526.98

Blender Version
Broken: version: 3.5.0 Alpha, branch: main (modified), commit date: 2023-02-10 02:18, hash: rBc2c62c3618ee
Worked: (newest version of Blender that worked as expected)

Short description of error
Drivers left behind when user deleted

Exact steps for others to reproduce the error

  1. open below blend file and check the console: WARN (bke.anim_sys):

C:\Users\blender\git\blender-vdev\blender.git\source\blender\blenkernel\intern\anim_sys.c:4192 BKE_animsys_eval_driver: invalid driver - pose.bones["foot.L"].constraints["Copy Rotation"].enabled[0]

  1. now add a copy rotation constraint to the bone named foot.L
  2. The old driver will be automatically added to the new constraint.

By the way, the driver being invalid is due to another bug report: #106379

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 526.98 **Blender Version** Broken: version: 3.5.0 Alpha, branch: main (modified), commit date: 2023-02-10 02:18, hash: `rBc2c62c3618ee` Worked: (newest version of Blender that worked as expected) **Short description of error** Drivers left behind when user deleted **Exact steps for others to reproduce the error** 1. open below blend file and check the console: WARN (bke.anim_sys): C:\Users\blender\git\blender-vdev\blender.git\source\blender\blenkernel\intern\anim_sys.c:4192 BKE_animsys_eval_driver: invalid driver - pose.bones["foot.L"].constraints["Copy Rotation"].enabled[0] 2. now add a copy rotation constraint to the bone named foot.L 3. The old driver will be automatically added to the new constraint. By the way, the driver being invalid is due to another bug report: https://projects.blender.org/blender/blender/issues/106379
michael campbell added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-03-31 14:11:26 +02:00

Not sure if I would consider this to be a bug - drivers and other animation live on their own, so the same happens if you add keyframe to constraint. This is ultimately on particular module how they want to manage such data.
In VSE keyframes are managed, but this had to been implemented. Drivers are not managed fully yet.
I guess this could be a known issue that could be documented, so will confirm this.

Not sure if I would consider this to be a bug - drivers and other animation live on their own, so the same happens if you add keyframe to constraint. This is ultimately on particular module how they want to manage such data. In VSE keyframes are managed, but this had to been implemented. Drivers are not managed fully yet. I guess this could be a known issue that could be documented, so will confirm this.
Member

This is the same as #89679 (but not considered a bug).

Quoting from there:

I can confirm, the persistence of animation data is by design. Might be considered a bit of a sloppy design with some downsides (corroborated by many "invalid driver" warnings on the console whenever you open a Blender Animation Studio anim file), but it also has upsides. Not losing animation data is one, and the ability to swap out "animated things" with other "things".

Will close as duplicate of #89679 (of course you can subscribe/raise your voice there if you like).

This is the same as #89679 (but not considered a bug). Quoting from there: > I can confirm, the persistence of animation data is by design. Might be considered a bit of a sloppy design with some downsides (corroborated by many "invalid driver" warnings on the console whenever you open a Blender Animation Studio anim file), but it also has upsides. Not losing animation data is one, and the ability to swap out "animated things" with other "things". Will close as duplicate of #89679 (of course you can subscribe/raise your voice there if you like).
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-06-07 11:48:46 +02:00
Philipp Oeser added
Status
Duplicate
and removed
Status
Archived
labels 2023-06-07 11:49:01 +02:00
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
3 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#106380
No description provided.