mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-14 08:16:03 +02:00
Resource fix for textures in FBX files.
The baseTexturePath url for textures in FBXGeometry should default to the same base url as the fbx file itself. This error was introduced in my recent refactoring. Textures embedded in FBXGeometries should be un-affected by this change.
This commit is contained in:
parent
e9517ef929
commit
04e7084743
1 changed files with 1 additions and 1 deletions
|
@ -1723,7 +1723,7 @@ void GeometryReader::run() {
|
|||
NetworkGeometry::NetworkGeometry(const QUrl& url, bool delayLoad, const QVariantHash& mapping, const QUrl& textureBaseUrl) :
|
||||
_url(url),
|
||||
_mapping(mapping),
|
||||
_textureBaseUrl(textureBaseUrl) {
|
||||
_textureBaseUrl(textureBaseUrl.isValid() ? textureBaseUrl : url) {
|
||||
|
||||
if (delayLoad) {
|
||||
_state = DelayState;
|
||||
|
|
Loading…
Reference in a new issue