cannot change node tree to the material

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
Luxart
Posts: 49
Joined: Tue Feb 13, 2018 10:14 am

cannot change node tree to the material

Post by Luxart »

Hi,
In BlendLuxCore(2.0rc1), I cannot change(link) another node tree to the material in node editor (blender2.79b).
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: cannot change node tree to the material

Post by B.Y.O.B. »

Yes, each material has exactly one node tree, just like in Cycles.
Why would you want to change it?
Luxart
Posts: 49
Joined: Tue Feb 13, 2018 10:14 am

Re: cannot change node tree to the material

Post by Luxart »

It seems a fake user is created for each node tree, but not for material.

So If I, remove a material from an object (save & reopen file).

The material is removed and node tree is not removed as expected.

But I can't find a way to delete nodetree (or assign to another material) from node editor.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: cannot change node tree to the material

Post by B.Y.O.B. »

That's true.
But I think the solution is to somehow find and delete these orphaned node trees.
I added a note here: https://github.com/LuxCoreRender/BlendL ... issues/126
Luxart
Posts: 49
Joined: Tue Feb 13, 2018 10:14 am

Re: cannot change node tree to the material

Post by Luxart »

Volume nodes have same issue.
Currently Image & volume nodes can be unlinked manually.
But material node tree can't be removed, As we can't even select them in node editor :( .

Thanks for looking into the problem.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: cannot change node tree to the material

Post by B.Y.O.B. »

You can see them if you click the "pin" button the node editor.
Then you can also manually flag it for deletion with Shift click on X.
Luxart
Posts: 49
Joined: Tue Feb 13, 2018 10:14 am

Re: cannot change node tree to the material

Post by Luxart »

Yes, the pinned trick works, Thanks :) .
Post Reply