Update ReadOnlyMaterial.cpp