The exact same problem also appears when models are imported.
I was thinking about adding something to the Collada importer that
would allow to "reuse existing materials" .
So yes, it would be good to have such a check in Blender. And it would be
good to have access to that check function from importers (python and C)
That would help a lot ;)

-gaia-

On 14.03.2013 09:44, Karl BE wrote:
> Hello everyone!
>
> When appending an object from one file into another, materials on that
> object will be appended as well. If any of the materials on the object
> have the same name as an existing one in the file, then the appended
> material is incremented with a number. That's just how it should work,
> if the materials are in fact different. However, no check is made for
> this. If you're appending a lot of objects with the same material, you
> can get alot of duplicates this way.
>
> Could you guys make this better by doing a check for identical materials? If
> they match, then use the existing material and avoid creating
> duplicates. That could save a lot of clicks in some situations.
>
> Regards,
>
>
> Karl
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers

_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to