Changing the Driver while Auto Keying is on, causes new Keys on it's F-Curve #95866

Closed
opened 2022-02-18 10:59:20 +01:00 by Konstantins Visnevskis · 11 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.39

Blender Version
Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: dc2d180181

Short description of error
Changing driver's expression to produce different result, while Auto Keying is on causes creation of Keyframes on Driver's F-Curve.
While thechnically explainable, unfortunately, a scenario where this wouldn't be harmful (and quite possibly unnoticed) is unlikely.

Exact steps for others to reproduce the error
driver-fcurve-keyframe1.blend

  • Click on the purple/driven number field of "Curve Out X" in the Properties Editor Bendy Bones panel (dont do this in the Drivers editor, needs to be on the field directly)
  • change "max(x,0)*0.05" to "max(x,0)*0.05+2"
  • The changed value of the Driver generated a new Keyframe in the driver's F-Curve (seen in Drivers Editor below)

(works fine [without adding a keyframe] when changing the expression in the Drivers Editor)

**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.39 **Blender Version** Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: `dc2d180181` **Short description of error** Changing driver's expression to produce different result, while Auto Keying is on causes creation of Keyframes on Driver's F-Curve. While thechnically explainable, unfortunately, a scenario where this wouldn't be harmful (and quite possibly unnoticed) is unlikely. **Exact steps for others to reproduce the error** [driver-fcurve-keyframe1.blend](https://archive.blender.org/developer/F12872819/driver-fcurve-keyframe1.blend) - Click on the purple/driven number field of "Curve Out X" in the Properties Editor Bendy Bones panel (dont do this in the Drivers editor, needs to be on the field directly) - change "max(x,0)*0.05" to "max(x,0)*0.05+2" - > The changed value of the Driver generated a new Keyframe in the driver's F-Curve (seen in Drivers Editor below) (works fine [without adding a keyframe] when changing the expression in the Drivers Editor)

Added subscriber: @KonstantinsVisnevskis

Added subscriber: @KonstantinsVisnevskis

#102648 was marked as duplicate of this issue

#102648 was marked as duplicate of this issue
Konstantins Visnevskis changed title from Changing the Driver while Auto Keying is on, causes new Keys on it's F-curve to Changing the Driver while Auto Keying is on, causes new Keys on it's F-Curve 2022-02-18 11:00:08 +01:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Cannot reproduce this.
I see the indicator [showing the resulting driver value] change, but I dont see a keyframe on the driver curve.
Can you show this in action?

Cannot reproduce this. I see the indicator [showing the resulting driver value] change, but I dont see a keyframe on the driver curve. Can you show this in action?

Image above - changing driver script value. Below - new keyframe on the curve right after pressing enter.
screen.jpg

Image above - changing driver script value. Below - new keyframe on the curve right after pressing enter. ![screen.jpg](https://archive.blender.org/developer/F12873403/screen.jpg)
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

Ah, get it now (I was doing it in the Drivers Editor -- where changing the expression works without adding the keyframe)

Ah, get it now (I was doing it in the Drivers Editor -- where changing the expression works without adding the keyframe)

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

I've added this to the list of problems with the auto-keying system. It's one of many, and I'm pondering on a blog post to publicly discuss changes in the auto-keying system.

I've added this to the [list of problems with the auto-keying system](https://wiki.blender.org/wiki/Modules/Animation-Rigging/Weak_Areas#Auto-keying). It's one of many, and I'm pondering on a blog post to publicly discuss changes in the auto-keying system.
Member

Added subscriber: @Forian-Naki

Added subscriber: @Forian-Naki
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:35:11 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-01-12 16:34:01 +01: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
5 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#95866
No description provided.