Quantcast
Channel: Paper Cuts - Blender Developer Talk
Viewing all articles
Browse latest Browse all 57

Outliner & objects/collections visibility paper cuts

$
0
0

@dimitar wrote:

This started with the GSOC 2019 Outliner suggestion, opened a bug report, and want to continue the discussion further as outliner collection and objects visibility doesn’t work as expected

Problem

Collections visibility

Sublayers do not remember their on/off state when a parent layer is turned off and then back on. Once the parent layer is on, all sublayers are turned on as well. Instead, the sublayers should remember their state irrelevant of whether the parent layer is on or off.

Exact steps for others to reproduce the error

  • Create a collection
  • Create a number of sub-collections
  • Turn some sub-collections off
  • Turn off parent collection
  • Turn the parent collection back on
  • All the sub-collections are now on, instead of remembering their previous on/off state

Objects visibility

Similarly, when turning collections on and off, the hidden-in-viewport property gets reset, meaning that if a collection is turned off, and then turned back on, all objects that were set to hidden are now showing in the viewport

Solutions

Layers and sublayers should their stat.

Also, hidden-in-viewport properties for layers/objects should remember their state as they seem to do for whether objects get rendered or not.

A possible way to solve these issues is to create a state to remember the settings prior to executing the operators to turn on/off and show/hide

  1. turn off main layer
  2. sub-layers get all switched on
  3. turn on sublayer
  4. turn on main layer
  5. sublayers and/or hidden/visible objects recall initial state prior to step 1

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 57

Trending Articles