Fix crash when adding a texture on QML


When texture was attached on the qmlsurface example, the smoothUVs was
called before the actual model mesh was created.

Change-Id: I5a62b06291232df54ce08d586d8794b332a4eece
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
commit6939d7e10ab289abb5cbe8051ee1660fadcb34e7
parentcf47756e17fe0a0ecffbe167cd66272668e2f3f2
authorMika Salmela <mika.salmela@theqtcompany.com>
committerMika Salmela <mika.salmela@theqtcompany.com>
commit timeFri, 21 Nov 2014 14:36:44 +0200