Added a button in TexturesViewer for applying the currently selected texture.
Merge branch 'master' into prototype