Issue #3163. Added onMeshChanged() and changed meshChanged() back to non...

...-virtual.