mirror of https://github.com/qt/qt3d.git
Item3D: Improve wording of warning where texture coordinates are missing
Change-Id: I3f249b5e58cf910ed5f4772deb276919e6fbb34a
This commit is contained in:
parent
78982e0c2c
commit
908b5d7319
|
|
@ -1348,7 +1348,7 @@ void QDeclarativeItem3D::update()
|
|||
(k.at(i)->geometry().hasField(QGL::Position) &&
|
||||
!k.at(i)->geometry().hasField(QGL::TextureCoord0)))
|
||||
{
|
||||
qWarning() << "QGLSceneNode" << k.at(i)->objectName() << "from" << d->mesh->source() << "is missing texture coordinates. Placeholder coordinates are being generated, which may take some time.";
|
||||
qWarning() << "QGLSceneNode" << k.at(i)->objectName() << "from" << d->mesh->source() << "is missing texture coordinates. Dummy coordinates are being generated, which may take some time.";
|
||||
k.at(i)->geometry().generateTextureCoordinates();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue