mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 17:53:32 +02:00
Add FIXME comment to texture setting in Model.cpp
This commit is contained in:
parent
bf7066d4e3
commit
d1f14e46fb
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue