mirror of
https://github.com/lubosz/overte.git
synced 2025-04-09 09:44:33 +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;
|
||||
_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