getObjectTextures and getObjectMaterials only return engine or script set textures and materials on hidden selection and there is no easy way to know which textures or materials hidden selections had originally on the model. I'd like to request new scripting commands to return that:
ARRAY = getObjectTexturesOriginal ENTITY
ARRAY = getObjectMaterialsOriginal ENTITY
Same as existing commands except returning original model textures and materials for all hidden selections.