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>
| commit | 6939d7e10ab289abb5cbe8051ee1660fadcb34e7 |
| parent | cf47756e17fe0a0ecffbe167cd66272668e2f3f2 |
| author | Mika Salmela <mika.salmela@theqtcompany.com> |
| committer | Mika Salmela <mika.salmela@theqtcompany.com> |
| commit time | Fri, 21 Nov 2014 14:36:44 +0200 |