Notifications
Clear all
[Closed] Save Mtl to sceneMtl?
Oct 14, 2012 5:39 pm
This should be trivial…
MtlBaseLib* currentmatlib = GetCOREInterface()->GetSceneMtls();
currentmatlib->AddMtl(myMtl,TRUE);
But that material is not added even if when I save the scene I call:
currentmatlib->Save(isave);
When I re-open the scene that material is still on my medit (I’ve taken it from there) but not in the scene used mats.
Any clue on this? Thanks in advance.