[DF-2864] make setparenttostate public in order to allow deep composite material modification from outside