Makes all materials in hierarchy local. When invoked all the materials that are shared between the hierarchy and the outside will no longer be shared and each of them will be made local to ensure that the hierarchy is self-contained in terms of materials and clips.
MakeLocalMaterialsForHierarchy( [InputObj] ); |