mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Another slight face fix: clear the face when set, before loading the new one.
This commit is contained in:
parent
df0b2f4eec
commit
fe0d93102e
1 changed files with 3 additions and 0 deletions
|
@ -108,6 +108,9 @@ void BlendFace::setModelURL(const QUrl& url) {
|
|||
_modelReply = 0;
|
||||
}
|
||||
|
||||
// clear the current geometry, if any
|
||||
setGeometry(FBXGeometry());
|
||||
|
||||
// remember the URL
|
||||
_modelURL = url;
|
||||
|
||||
|
|
Loading…
Reference in a new issue