Animating hide_viewport propertie deselect objects #71335

Open
opened 2019-11-04 12:35:05 +01:00 by Samuel Bernou · 17 comments
Member

System Information
Operating system: Linux-4.15.0-20-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.87.01

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-03 03:57, hash: 8ab6ef30ab

Short description of error
When animating the "hide_viewport" propertie of an object it deselect it, this was not the case in 2.79.
Not only the selection is lost but this make the user unable to use filters "Selected only" in combination with "Display hidden" like you could do in 2.79

{F7930271, size=full}

Exact steps for others to reproduce the error
Animate the hide_viewport visibility of an object, in graph editor toggle on Selected only and Display hidden. Select the object and then scrub in/out the animated hide range, object gets deselected.
Example blend : animated_display_on_cube.blend

Someone also mentionned it in blender stack exchange with gifs to compare 2.79 and 2.8+ behavior : https://blender.stackexchange.com/questions/147876/hiding-object-in-2-80-via-animated-disable-in-viewport-loses-selection

Thank you !

**System Information** Operating system: Linux-4.15.0-20-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.87.01 **Blender Version** Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-03 03:57, hash: `8ab6ef30ab` **Short description of error** When animating the "*hide_viewport*" propertie of an object it deselect it, this was not the case in 2.79. Not only the selection is lost but this make the user unable to use filters "*Selected only*" in combination with "*Display hidden*" like you could do in 2.79 {[F7930271](https://archive.blender.org/developer/F7930271/losing_selection_and_only_select_filter.gif), size=full} **Exact steps for others to reproduce the error** Animate the hide_viewport visibility of an object, in graph editor toggle on *Selected only* and *Display hidden*. Select the object and then scrub in/out the animated hide range, object gets deselected. Example blend : [animated_display_on_cube.blend](https://archive.blender.org/developer/F7930267/animated_display_on_cube.blend) Someone also mentionned it in blender stack exchange with gifs to compare 2.79 and 2.8+ behavior : https://blender.stackexchange.com/questions/147876/hiding-object-in-2-80-via-animated-disable-in-viewport-loses-selection Thank you !
Author
Member

Added subscriber: @Pullup

Added subscriber: @Pullup

#94757 was marked as duplicate of this issue

#94757 was marked as duplicate of this issue

#85150 was marked as duplicate of this issue

#85150 was marked as duplicate of this issue
Member

Added subscribers: @dfelinto, @lichtwerk

Added subscribers: @dfelinto, @lichtwerk
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Philipp Oeser self-assigned this 2019-11-04 12:54:12 +01:00
Member

Afaict, blender always made hidden objects unselected [animating viewport visibility was an exception there, so to say]
So in a way, 2.8 is more consistent here, and I assume this is all by design [@dfelinto: correct me if I am wrong.]

Will have to close this, as I dont see a bug here.
(there might be usecases where this is inconvenient, for more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug)

Afaict, blender always made hidden objects unselected [animating viewport visibility was an exception there, so to say] So in a way, 2.8 is more consistent here, and I assume this is all by design [@dfelinto: correct me if I am wrong.] Will have to close this, as I dont see a bug here. (there might be usecases where this is inconvenient, for more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug)
Author
Member

Ok, thank you for your quick answer. I guessed this was maybe by design but was not sure...
If it is though, I consider this a regression since this exception allowed to keep selections and, more importantly, retime animation of visibility without showing every object in dopesheet (life-saver in dense scenes).

Is there a workaround to move visibility keyframes without them disappearing (by losing selection) ?

Ok, thank you for your quick answer. I guessed this was maybe by design but was not sure... If it is though, I consider this a regression since this exception allowed to keep selections and, more importantly, retime animation of visibility without showing every object in dopesheet (life-saver in dense scenes). Is there a workaround to move visibility keyframes without them disappearing (by losing selection) ?
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

You can click off the check box labeled "Does F-Curve contribute to result."

Does F-Curve contribute to result v2.jpg

You can click off the check box labeled "Does F-Curve contribute to result." ![Does F-Curve contribute to result v2.jpg](https://archive.blender.org/developer/F7933823/Does_F-Curve_contribute_to_result_v2.jpg)

Added subscriber: @chakravarthy

Added subscriber: @chakravarthy

Sorry to add an entry here although this thread says closed (I'm new to this, but I had to share on this this topic)

Please consider this as use-case. Consider 3d motiongraphics, where you need to key the visibility of objects often. for the time being we cannot have the visibility animation show up in viewport without losing our selections. It is very important to be able to play/scrub the animation as we refine the timing of keyframes. Below is the situation shown as an image. For now the workaround I am having is to keyframe the scaling to zero if I want objects hidden. Something tells me this is not the right way.

image.png

Please don't hesitate to point out, if I am missing something.

Sorry to add an entry here although this thread says closed (I'm new to this, but I had to share on this this topic) Please consider this as use-case. Consider 3d motiongraphics, where you need to key the visibility of objects often. for the time being we cannot have the visibility animation show up in viewport without losing our selections. It is very important to be able to play/scrub the animation as we refine the timing of keyframes. Below is the situation shown as an image. For now the workaround I am having is to keyframe the scaling to zero if I want objects hidden. Something tells me this is not the right way. ![image.png](https://archive.blender.org/developer/F8304803/image.png) Please don't hesitate to point out, if I am missing something.

Added subscribers: @comvico, @mano-wii

Added subscribers: @comvico, @mano-wii
Philipp Oeser was unassigned by Germano Cavalcante 2021-01-28 21:30:35 +01:00

Given the repercussion of this issue with even a post on the rightclickselect about it (https://blender.community/c/rightclickselect/Zgfbbc/),
I think it is worth setting this as at least a "Known Issue".

Given the repercussion of this issue with even a post on the rightclickselect about it (https://blender.community/c/rightclickselect/Zgfbbc/), I think it is worth setting this as at least a "`Known Issue`".

Changed status from 'Archived' to: 'Confirmed'

Changed status from 'Archived' to: 'Confirmed'

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

This is indeed not a bug, but a design choice that was made for Blender 2.80. It's certainly annoying for certain workflows. The idea behind the change was as a solution to a very annoying other problem, where artists lost a lot of work because they unknowingly performed operations on invisible objects. By the time they made them visible, it was too late because their changes had already been saved so many times, the incremental backups didn't help either. AFAIK this decision was made by prioritising the loss of work over other work becoming more cumbersome.

This is indeed not a bug, but a design choice that was made for Blender 2.80. It's certainly annoying for certain workflows. The idea behind the change was as a solution to a very annoying other problem, where artists lost a lot of work because they unknowingly performed operations on invisible objects. By the time they made them visible, it was too late because their changes had already been saved so many times, the incremental backups didn't help either. AFAIK this decision was made by prioritising the loss of work over other work becoming more cumbersome.

Added subscriber: @phoenixart

Added subscriber: @phoenixart
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:36:17 +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
7 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#71335
No description provided.