mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-18 12:48:47 +02:00
Add FIXME comment to texture setting in Model.cpp
This commit is contained in:
parent
9730d07f59
commit
1d9a32c528
1 changed files with 2 additions and 0 deletions
|
@ -851,6 +851,8 @@ void Model::setTextures(const QVariantMap& textures) {
|
||||||
_needsFixupInScene = true;
|
_needsFixupInScene = true;
|
||||||
_renderGeometry->setTextures(textures);
|
_renderGeometry->setTextures(textures);
|
||||||
} else {
|
} 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]() {
|
connect(&_renderWatcher, &GeometryResourceWatcher::finished, this, [this, textures]() {
|
||||||
_renderGeometry->setTextures(textures);
|
_renderGeometry->setTextures(textures);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue