Using viewport visibility as a driver doesn't work without constantly updating it in the driver property #91774

Open
opened 2021-09-28 13:30:44 +02:00 by ronald johnson · 17 comments

Broken: version 2.93
Worked: Never (2.8+)

Short description of error

Using viewport visibility as a driver from another object doesn't works unless you constantly hit "update dependencies" it in the driver property.
update dependencies.JPG

For this, i used the cube's visibility as a driver on the shape key of the sphere.
The not working file.blend
In the outliner, enable the viewport visibility for the cube, then disable it again. The shape key doesnt update unless you go into the driver property and hit the update dependency button.

The working one.blend
This is what i was hoping it would do. The only way I could use viewport visibility as a driver is to use a custom property on that object then use the custom property as a proxy.

Is there a reason why it dont update if you use visibility as a driver from another object or is that a bug?

Steps to reproduce
The not working file.blend

  • Open file
  • Click on Disable in Viewports icon on Cube object in outliner
    Sphere shape should be change, but it doesn't
Broken: version 2.93 Worked: Never (2.8+) **Short description of error** Using viewport visibility as a driver from another object doesn't works unless you constantly hit "update dependencies" it in the driver property. ![update dependencies.JPG](https://archive.blender.org/developer/F10648913/update_dependencies.JPG) For this, i used the cube's visibility as a driver on the shape key of the sphere. [The not working file.blend](https://archive.blender.org/developer/F10649105/The_not_working_file.blend) In the outliner, enable the viewport visibility for the cube, then disable it again. The shape key doesnt update unless you go into the driver property and hit the update dependency button. [The working one.blend](https://archive.blender.org/developer/F10649157/The_working_one.blend) This is what i was hoping it would do. The only way I could use viewport visibility as a driver is to use a custom property on that object then use the custom property as a proxy. Is there a reason why it dont update if you use visibility as a driver from another object or is that a bug? **Steps to reproduce** [The not working file.blend](https://archive.blender.org/developer/F10649105/The_not_working_file.blend) - Open file - Click on Disable in Viewports icon on Cube object in outliner Sphere shape should be change, but it doesn't
Author

Added subscriber: @billyand

Added subscriber: @billyand

#91886 was marked as duplicate of this issue

#91886 was marked as duplicate of this issue

Added subscriber: @iss

Added subscriber: @iss

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

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

This sounds like #78071, but checking with 3.0 I can't reproduce the problem.

Please check if this issue happens with latest alpha build from https://builder.blender.org/download/daily/.

This sounds like #78071, but checking with 3.0 I can't reproduce the problem. Please check if this issue happens with latest alpha build from https://builder.blender.org/download/daily/.
Author

@iss It doesn't work in the alpha or the candidates. I recreated it in the alpha and it still doesnt work. Did you try the first file i uploaded?

@iss It doesn't work in the alpha or the candidates. I recreated it in the alpha and it still doesnt work. Did you try the first file i uploaded?
Author

@iss #78071 yea it's the same. The project file from that ticket doesn't work in 3.0 c53ffda8a4 either. I disabled cube_1 but it dont set off the modifier on cube_2 unless you update it in the driver property

@iss #78071 yea it's the same. The project file from that ticket doesn't work in 3.0 c53ffda8a496 either. I disabled cube_1 but it dont set off the modifier on cube_2 unless you update it in the driver property

I re-checked and I was able to reproduce the bug here. Not sure what I did to make it work, but it did even if I reload the file.

In any case I will mege this with #78071 since this seems to be same issue.

I re-checked and I was able to reproduce the bug here. Not sure what I did to make it work, but it did even if I reload the file. In any case I will mege this with #78071 since this seems to be same issue.

Closed as duplicate of #78071

Closed as duplicate of #78071
Author

@iss The ticket that this got merged with was made over a year ago and the guy that was working on it said to make a new bug report because it was closed for so long. Should this get merged to that ticket?

@iss The ticket that this got merged with was made over a year ago and the guy that was working on it said to make a new bug report because it was closed for so long. Should this get merged to that ticket?

Changed status from 'Duplicate' to: 'Confirmed'

Changed status from 'Duplicate' to: 'Confirmed'

Changed status from 'Confirmed' to: 'Needs Triage'

Changed status from 'Confirmed' to: 'Needs Triage'

I saw it was still open so I merged. I can reopen this ticket just in case T7807 is considered resolved already despite it's current status.

I saw it was still open so I merged. I can reopen this ticket just in case T7807 is considered resolved already despite it's current status.

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @Alumx

Added subscriber: @Alumx

Added subscriber: @pitibonom

Added subscriber: @pitibonom

I think it's not really the place for this but here's a workaround for this annoying bug:

create a keyframe for the driver hide_viewport flag and all will work properly ;)

Happy blending !

I think it's not really the place for this but here's a workaround for this annoying bug: create a keyframe for the driver hide_viewport flag and all will work properly ;) Happy blending !
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:35:30 +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
4 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#91774
No description provided.