changing the material in a slot does not save for one object. #40393

Closed
opened 2014-05-27 18:27:48 +02:00 by Robert Forsman · 7 comments

System Information
Linux bubastis 3.10.25-gentoo #10 SMP Thu Jan 30 22:17:35 UTC 2014 x86_64 Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz GenuineIntel GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1) (prog-if 00 [VGA controller])

Blender Version
Broken: 2.70
Broken: git bc9e66f083

Short description of error

I have an object with the wrong material on it name "frog". I go into the materials pane and change slot 1 to "frog skin 2". I save the .blend file.

When I open the .blend file again the material in that slot is "frog skin" once again (not the new material I just selected and saved).

I will attach the .blend files (there are two since materials and armatures are linked)

**System Information** Linux bubastis 3.10.25-gentoo #10 SMP Thu Jan 30 22:17:35 UTC 2014 x86_64 Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz GenuineIntel GNU/Linux 01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1) (prog-if 00 [VGA controller]) **Blender Version** Broken: 2.70 Broken: git bc9e66f0830627e807f720dca4b9d5d8d39e732a **Short description of error** I have an object with the wrong material on it name "frog". I go into the materials pane and change slot 1 to "frog skin 2". I save the .blend file. When I open the .blend file again the material in that slot is "frog skin" once again (not the new material I just selected and saved). I will attach the .blend files (there are two since materials and armatures are linked)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @mutantbob

Added subscriber: @mutantbob
Author

This is the .blend file that exhibits the problem for me. It is dependent upon the second .blend file for linked armatures, materials and stuff.

This is the .blend file that exhibits the problem for me. It is dependent upon the second .blend file for linked armatures, materials and stuff.
Author

This is the auxiliary .blend file which has the armature and materials.

This is the auxiliary .blend file which has the armature and materials.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2014-05-27 19:52:06 +02:00

The issue here is that by default, in Blender, materials are linked against data (i.e. mesh), not objects. Since your frog mesh is also linked from another lib file, you can’t change the material linked to it.

The solution is easy: link that slot’s material to the object (dropdown just besides the 'node' toggle, in same panel as slots) instead of the data, and you will be able to save your new material assignments.

Not a bug, thanks for the report anyway. :)

The issue here is that by default, in Blender, materials are linked against data (i.e. mesh), not objects. Since your frog mesh is also linked from another lib file, you can’t change the material linked to it. The solution is easy: link that slot’s material to the object (dropdown just besides the 'node' toggle, in same panel as slots) instead of the data, and you will be able to save your new material assignments. Not a bug, thanks for the report anyway. :)
Author

Using per-object materials solve the problem.

Perhaps the REAL problem is that the UI gives NO indication that changes to per-mesh materials on a linked mesh can not be saved.

The screwy thing is that you can change them in the UI and render images based on the changed materials. You just can't save them.

New proposed bug title: "per-mesh material_slots on linked meshes can be edited, but not saved".

I'd say it's a low-priority RFE for the UI to indicate that per-mesh materials can not be edited. Maybe grey out the menu button and material name, just like how the properties of a linked material are greyed out and uneditable.

Using per-object materials solve the problem. Perhaps the REAL problem is that the UI gives NO indication that changes to per-mesh materials on a linked mesh can not be saved. The screwy thing is that you can change them in the UI and render images based on the changed materials. You just can't save them. New proposed bug title: "per-mesh material_slots on linked meshes can be edited, but not saved". I'd say it's a low-priority RFE for the UI to indicate that per-mesh materials can not be edited. Maybe grey out the menu button and material name, just like how the properties of a linked material are greyed out and uneditable.
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
2 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#40393
No description provided.