Page MenuHome

PreferencesEdit.material_link not respected
Closed, ResolvedPublic

Description

System Information
Operating system: OSX/Linux
Graphics card: NVidia 1050Ti

Blender Version
Broken: 2.79b Release

Short description of error
When choosing preference setting behaviour to link materials to object instead of data, this setting is ignored.

Exact steps for others to reproduce the error
Select the "link to object" in preferences
Add Object
Add Material
Observe material is still linked to data

Either I'm doing something wrong or this has been an issue since "forever"
Even the 2.79b release doesn't respect the setting.

Thanks for looking into it,
Roel

Revisions and Commits

Event Timeline

Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 30.Jan 1 2019, 8:45 PM

Is it still broken in the 2.79 build from here https://builder.blender.org/download/ ?

maybe I should have said broken SINCE...
every build since then, up and including 2.80 branch doesn’t respect the setting.
just check the behaviour, it’s quite simple to verify..

Sebastian Parborg (zeddb) raised the priority of this task from 30 to 50.Jan 2 2019, 12:42 PM

You are right, it is simple to verify. But the tracker is being flooded with bug reports as the interest for 2.8 is really high. So if the version in the report is not recent, that is the first thing to ask for.

@Campbell Barton (campbellbarton) seems like you made this change rBbe1a684755905fd022be5ceecf9a7b2687475793

It seems like this will cause the user preferences to never be respected. So it is kinda useless.
How to proceed? If I make user prefs be respected again, the issue you fixed will be back too.

@Sebastian Parborg (zeddb) adding new slots worked, it was the new-material operator was failing when the object had no materials, now fixed.