if you ask the material with CentralMaterialLibrary.getMaterial(id), do you get it back?
Fabrice On Feb 7, 2011, at 11:20 PM, Baraba wrote: > bump > > anybody? i can't get it work > > On Feb 5, 2:31 pm, Baraba <[email protected]> wrote: >> I created BSPTree : >> >> [Embed(source="BSPdatoteka.awd", mimeType="application/octet-stream")] >> private var BSPFile:Class; >> ... >> _tree = BSPTree(AWData.parse(new BSPFile(), {customPath:"./ >> images/"})); >> >> I want to change material of specific object in BSPTree... >> I tried something like this: >> >> CentralMaterialLibrary.updateMaterial("stand_S_2", _probeMat); >> >> ...nothing happens. Please help.
