Add FIXME comment to texture setting in Model.cpp

This commit is contained in:
Ryan Huffman 2016-12-16 16:32:53 -08:00 committed by Seth Alves
parent bf7066d4e3
commit d1f14e46fb

View file

@ -851,6 +851,8 @@ void Model::setTextures(const QVariantMap& textures) {
_needsFixupInScene = true;
_renderGeometry->setTextures(textures);
} else {
// FIXME(Huffman): Disconnect previously connected lambdas so we don't set textures multiple
// after the geometry has finished loading.
connect(&_renderWatcher, &GeometryResourceWatcher::finished, this, [this, textures]() {
_renderGeometry->setTextures(textures);
});