Luxcore 2.0, Blender 2.79b
Materials whithout user are not deleted when I save the file and reenter later.
Solution: Switch the Render Engine to Cycles, save, open again and the materials whithout users are deleted
LuxCore doesn't delete Materials
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Re: LuxCore doesn't delete Materials
I can not reproduce this.
Are the materials listed in the "Orphan Data" view of the outliner?
Are the materials listed in the "Orphan Data" view of the outliner?
Re: LuxCore doesn't delete Materials
Thank you B.Y.O.B. for the hint with the orphan data view. With that I was able to clarify my problem:
I had appended an object multiple time accidentally. After deleting the unnecessary objects the respective materials where not deleted by save-close-open then file. It needs a second save-close-open to delete the materials because the first save-close-open cycle only deletes the objects. At that moment the materials had an owner: the deleted objects. After the second save-close-open the unnecessary materials where deleted.
I had appended an object multiple time accidentally. After deleting the unnecessary objects the respective materials where not deleted by save-close-open then file. It needs a second save-close-open to delete the materials because the first save-close-open cycle only deletes the objects. At that moment the materials had an owner: the deleted objects. After the second save-close-open the unnecessary materials where deleted.
Re: LuxCore doesn't delete Materials
Ok, so it's not a bug in the addon, this is just normal Blender behaviour.