adding driver on bone "hide" or "hide_select" does'nt display purple color on outliner / can still be changed #53086

Closed
opened 2017-10-16 12:17:06 +02:00 by Julien Duroure · 7 comments
Member

System Information
Same on windows 7 / linux ubuntu

Blender Version
Broken: 2.79

Short description of error
Adding driver on bone "hide" or "hide_select" (by hand or API) does'nt display purple color on outliner, and value can still be changed (when for other property driven, there is a warning message displayed in header when you try to change a property where there is a driver)

Exact steps for others to reproduce the error

  • Add an armature, go to pose mode
  • On bone properties, Display panel, add a driver on "hide" property
  • Add a driver with API, on hide_select property : bpy.context.object.data.bones["Bone"].driver_add('hide_select')
  • On outliner : no purple on corresponding properties (eye and arrow)
  • On display panel, for "hide" property, and on outliner for both --> You can click to switch value (for other driven value, there is a warning "can't edit driven properties"
**System Information** Same on windows 7 / linux ubuntu **Blender Version** Broken: 2.79 **Short description of error** Adding driver on bone "hide" or "hide_select" (by hand or API) does'nt display purple color on outliner, and value can still be changed (when for other property driven, there is a warning message displayed in header when you try to change a property where there is a driver) **Exact steps for others to reproduce the error** * Add an armature, go to pose mode * On bone properties, Display panel, add a driver on "hide" property * Add a driver with API, on hide_select property : bpy.context.object.data.bones["Bone"].driver_add('hide_select') * On outliner : no purple on corresponding properties (eye and arrow) * On display panel, for "hide" property, and on outliner for both --> You can click to switch value (for other driven value, there is a warning "can't edit driven properties"
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @JulienDuroure

Added subscriber: @JulienDuroure

Added subscriber: @zeauro

Added subscriber: @zeauro

I confirm that outliner is not refreshing correctly for these properties that don't handle driver creation from outliner.

Drivers are working. If frame is changed, property is updated according to driver.
Outliner will show a closed eye if driver is hiding bone but no purple color.
But as long as there is no refresh, user may can modify these properties and then don't understand why change made do not persist.

Really confusing.

I confirm that outliner is not refreshing correctly for these properties that don't handle driver creation from outliner. Drivers are working. If frame is changed, property is updated according to driver. Outliner will show a closed eye if driver is hiding bone but no purple color. But as long as there is no refresh, user may can modify these properties and then don't understand why change made do not persist. Really confusing.
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-10-17 06:37:10 +02:00
Member

Hmm... this is not really a bug, though I do agree the behaviour here is a bit confusing.

There are several different things going on here:

  1. The "Restrict" icons in the Outliner for Bones still use the old-school widgets. As such, they don't have any RNA pointers attached, and therefore cannot show driver/keyframe states
  2. The "hide" toggle in the Display tab is sourced from Armature.bone and not Pose.bone. Therefore, any keyframes/drivers here end up going on to the Armature and not the Object. Thus, even if #1 worked, this still wouldn't work.

Closing as a todo.

Hmm... this is not really a bug, though I do agree the behaviour here is a bit confusing. There are several different things going on here: 1) The "Restrict" icons in the Outliner for Bones still use the old-school widgets. As such, they don't have any RNA pointers attached, and therefore cannot show driver/keyframe states 2) The "hide" toggle in the Display tab is sourced from `Armature.bone` and not `Pose.bone`. Therefore, any keyframes/drivers here end up going on to the Armature and not the Object. Thus, even if #1 worked, this still wouldn't work. Closing as a todo.
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#53086
No description provided.