cannot delete material of link object in new blend file #46023

Closed
opened 2015-09-05 11:28:20 +02:00 by yellow foxz · 11 comments

Blender Version
2.74 and latest

Short description of error
cannot delete materials of link object in new blend file, even though with permanent delete "shift+x".

Exact steps for others to reproduce the error
open this file cannot delete material of link object in test _blend.rar
open test.blend file
go to material and browse the linked material, delete it and save it.
revert the test.blend file and go to material and browse again linked material and still exist,
imagine , if multiple linked objects with multiple linked materials in one file, how to delete them all, if convert to single user but the link data still exist...cannot be delete

**Blender Version** 2.74 and latest **Short description of error** cannot delete materials of link object in new blend file, even though with permanent delete "shift+x". **Exact steps for others to reproduce the error** open this file [cannot delete material of link object in test _blend.rar](https://archive.blender.org/developer/F230488/cannot_delete_material_of_link_object_in_test__blend.rar) open test.blend file go to material and browse the linked material, delete it and save it. revert the test.blend file and go to material and browse again linked material and still exist, imagine , if multiple linked objects with multiple linked materials in one file, how to delete them all, if convert to single user but the link data still exist...cannot be delete
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @yellowfoxz

Added subscriber: @yellowfoxz

Added subscriber: @sindra1961

Added subscriber: @sindra1961

I deleted materials from python console, but it surely revives when I load a file.
{F230982}{F230984}{F230986}{F230988}005.png

I deleted materials from python console, but it surely revives when I load a file. {[F230982](https://archive.blender.org/developer/F230982/001.png)}{[F230984](https://archive.blender.org/developer/F230984/002.png)}{[F230986](https://archive.blender.org/developer/F230986/003.png)}{[F230988](https://archive.blender.org/developer/F230988/004.png)}![005.png](https://archive.blender.org/developer/F230990/005.png)

test.png

![test.png](https://archive.blender.org/developer/F230992/test.png)

I think that it is that the method that can delete present conditions it transfers lib path of libraries to the file which does not exist in outliner and saves it as a different file.
When the file is loaded on the next time, an error occurs, but a link of library should be deleted at time.

I think that it is that the method that can delete present conditions it transfers lib path of libraries to the file which does not exist in outliner and saves it as a different file. When the file is loaded on the next time, an error occurs, but a link of library should be deleted at time.

Though the number of the users of the library is 1, I think that what it is linked to is not right.

Though the number of the users of the library is 1, I think that what it is linked to is not right.

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Campbell Barton self-assigned this 2015-09-07 09:00:25 +02:00

The reason the materials references are kept is this file links in a Group called link,

In the outliner, you can Unlink the group, so the material references are removed on save, load.

We realize this area can be quite opaque to the user, but this isn't a bug.

closing.

The reason the materials references are kept is this file links in a **Group** called `link`, In the outliner, you can Unlink the group, so the material references are removed on save, load. We realize this area can be quite opaque to the user, but this isn't a bug. closing.
Author

ok....tq...but i am so frustrated to remove link object before this.... blender should removes everything when object already deleted.....

ok....tq...but i am so frustrated to remove link object before this.... blender should removes everything when object already deleted.....
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#46023
No description provided.