prevent log spamming for material.getId() != this.cache_currentMaterialId as the latter is reset before every frame rendering.
prevent null pointer exception in the code below, which adds elements to the list.
Merge branch 'skinnedmeshposenull'