Library Override: Lots of operators allow to add objects to overridden collections, which is not currently supported (lost on save) #71030

Closed
opened 2019-10-22 22:16:11 +02:00 by Andrew Charlton · 15 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1060 3GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86

Blender Version
Broken: version: 2.81 (sub 15), branch: master, commit date: 2019-10-21 18:07, hash: 388c954cb5
Worked: (optional)

Exact steps for others to reproduce the error

  • Open file OverrideTestD which contains a linked collection with a library override from OverrideTestC
  • Select one of the overrided collections in the outliner
  • In the viewport add a new cube
  • Save and reload, new added cube is gone.

overridetestD.blend

overridetestC.blend

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce GTX 1060 3GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86 **Blender Version** Broken: version: 2.81 (sub 15), branch: master, commit date: 2019-10-21 18:07, hash: `388c954cb5` Worked: (optional) **Exact steps for others to reproduce the error** * Open file OverrideTestD which contains a linked collection with a library override from OverrideTestC * Select one of the overrided collections in the outliner * In the viewport add a new cube * Save and reload, new added cube is gone. [overridetestD.blend](https://archive.blender.org/developer/F7848127/overridetestD.blend) [overridetestC.blend](https://archive.blender.org/developer/F7848128/overridetestC.blend)

Added subscriber: @Scaredyfish

Added subscriber: @Scaredyfish

#71106 was marked as duplicate of this issue

#71106 was marked as duplicate of this issue

Added subscriber: @dgsantana

Added subscriber: @dgsantana

The crashs on BKE_object_add due BKE_view_layer_base_find returning a null.

The crashs on `BKE_object_add` due `BKE_view_layer_base_find` returning a null.
Philipp Oeser changed title from Adding a new object while an library overrided collection is selected can crash Blender to Library Override: Adding a new object while an library overriden collection is selected can crash Blender 2019-10-23 15:07:05 +02:00
Member

Added subscribers: @mont29, @lichtwerk

Added subscribers: @mont29, @lichtwerk
Member

Still have to read up on usecases for overriding collections specifically, can confirm the crash though (and what @dgsantana said).

CC @mont29

Still have to read up on usecases for overriding **collections** specifically, can confirm the crash though (and what @dgsantana said). CC @mont29

Added subscriber: @luc

Added subscriber: @luc
Bastien Montagne self-assigned this 2019-11-04 16:06:30 +01:00

Added subscriber: @lrevardel

Added subscriber: @lrevardel

Note that if the sequence of linking-collection/creating-override/adding-object is done in a row, without going through saving/reloading a blender file (OverrideTestD), then the issue does not show up (see #71106 repro steps).

Note that if the sequence of linking-collection/creating-override/adding-object is done in a row, without going through saving/reloading a blender file (OverrideTestD), then the issue does not show up (see #71106 repro steps).

The crash should be fixed now (was same issue as #70875, fixed by 74af698769.

Keeping that one open though, as it should not be possible to add objects to an overridden collection (that is not supported currently, although it might be in the future).

The crash should be fixed now (was same issue as #70875, fixed by 74af698769. Keeping that one open though, as it should not be possible to add objects to an overridden collection (that is not supported currently, although it might be in the future).
Bastien Montagne changed title from Library Override: Adding a new object while an library overriden collection is selected can crash Blender to Library Override: Lots of operators allow to add objects to overridden collections, which is not currently supported (lost on save) 2019-11-08 10:28:21 +01:00

Added subscriber: @angavrilov

Added subscriber: @angavrilov

Um, what's the point of having the concept of collection overrides if they can't be modified?

Um, what's the point of having the concept of collection overrides if they can't be modified?

a61ba6c73d should have addressed most cases, will keep this task open a bit more though

a61ba6c73d should have addressed most cases, will keep this task open a bit more though

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

Considering this as solved/closed for now.

Considering this as solved/closed for now.
Thomas Dinges added this to the 2.90 milestone 2023-02-08 16:27:56 +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
8 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#71030
No description provided.