fixed bugs with updating mesh every frame
Merge branch 'develop'