question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Editor : How to handle the deletion of the material from Material Browser.

See original GitHub issue

I would like to start looking back in the material browser implementation’s, so i would like to pick up a scenario which is left to be handled.

I have added option to delete material from the material browser and fallback to default editor material.

That is logic that the library itself does not have; the library doesn’t reuse a single material, it creates a random colored material if the user doesn’t pass one.

I’m trying to make the editor reflect the library’s logic so it serves to teach users how it works.

So, for now, I vote for not adding the DEFAULT_MATERIAL logic.

_Originally posted by @mrdoob in https://github.com/mrdoob/three.js/pull/17495#issuecomment-531590284_

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
mrdoobcommented, Jan 5, 2020

Actually, I vote for removing the random color from the lib and always use white instead.

1reaction
Mugen87commented, Jan 5, 2020

Yes, it’s indeed better if the material’s default color is always the same and thus deterministic 👍.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add, Assign, Delete Materials – Blender Knowledgebase
Delete All Materials​​ Once assignments are shown, Shift + click each item, right-click those highlighted and then select Delete from the context ...
Read more >
Too many materials are listed in the Materials Browser in ...
Select the block, right-click, and choose Block Editor. ... To delete materials that are still assigned to objects in the block, right-click ...
Read more >
[2.91] Blender Tutorial: How to Completely Delete Materials
In this tutorial you will learn how to delete materials in Blender.Cool Add-ons for Blender:Human ... Your browser can't play this video.
Read more >
How to delete unused materials in Blender? - YouTube
In this lecture,we'll learn how to delete unused materials from Blender.1)Intro 00:002) Deleting Unused Materials With Outliner Editor ...
Read more >
How to flag a material for deletion at the plant level - SAP MM
Email Me at: Gattumusalamma@gmail.comThis video talks about how to put a deletion flag on a material at plant level. In realtime, nothing is ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found