diff --git a/interface/resources/qml/hifi/toolbars/Toolbar.qml b/interface/resources/qml/hifi/toolbars/Toolbar.qml index 4710fa3256..01aa29f665 100644 --- a/interface/resources/qml/hifi/toolbars/Toolbar.qml +++ b/interface/resources/qml/hifi/toolbars/Toolbar.qml @@ -19,7 +19,6 @@ Window { shown: true width: content.width height: content.height - disableFade: true // Disable this window from being able to call 'desktop.raise() and desktop.showDesktop' activator: Item {} property bool horizontal: true @@ -127,7 +126,7 @@ Window { sortButtons(); - shown = true; + fadeIn(null); return result; } @@ -143,7 +142,7 @@ Window { buttons.splice(index, 1); if (buttons.length === 0) { - shown = false; + fadeOut(null); } } } diff --git a/interface/resources/qml/windows/Fadable.qml b/interface/resources/qml/windows/Fadable.qml index 6bbd1edcac..4d506755f2 100644 --- a/interface/resources/qml/windows/Fadable.qml +++ b/interface/resources/qml/windows/Fadable.qml @@ -36,9 +36,6 @@ FocusScope { // Some dialogs should be destroyed when they become // invisible, so handle that onVisibleChanged: { - if (disableFade) { - return; - } // If someone directly set the visibility to false // toggle it back on and use the targetVisible flag to transition // via fading. @@ -66,9 +63,7 @@ FocusScope { } onFadeTargetPropertyChanged: { - if (!disableFade) { - visible = (fadeTargetProperty != 0.0); - } + visible = (fadeTargetProperty != 0.0); } function fadeIn(callback) { diff --git a/libraries/baking/src/FBXBaker.cpp b/libraries/baking/src/FBXBaker.cpp index e4d7f6bbc9..ee24d6a4c2 100644 --- a/libraries/baking/src/FBXBaker.cpp +++ b/libraries/baking/src/FBXBaker.cpp @@ -377,7 +377,8 @@ void FBXBaker::rewriteAndBakeSceneModels() { bool hasColors { mesh.colors.size() > 0 }; bool hasTexCoords { mesh.texCoords.size() > 0 }; bool hasTexCoords1 { mesh.texCoords1.size() > 0 }; - bool hasPerFaceMaterials { mesh.parts.size() > 1 }; + bool hasPerFaceMaterials { mesh.parts.size() > 1 + || extractedMesh.partMaterialTextures[0].first != 0 }; bool needsOriginalIndices { hasDeformers }; int normalsAttributeID { -1 };