Made meshChanged a virtual function