Explorar o código

Turns out the Emboss effect artifacts pretty hard with smooth off

Change-Id: I36f434479bfd421ab7f7a6f6ecc6c113865e0a41
Donald Carr %!s(int64=9) %!d(string=hai) anos
pai
achega
a427fa2e51
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  1. 1 1
      qml/VisualEffect.qml
  2. 0 1
      qml/main.qml

+ 1 - 1
qml/VisualEffect.qml

@@ -12,7 +12,7 @@ Item {
 
     ShaderEffectSource {
         id: effectSource
-        smooth: settings.smoothedEffects
+        smooth: true
         hideSource: true
         sourceItem: target
     }

+ 0 - 1
qml/main.qml

@@ -14,7 +14,6 @@ Window {
         property int columnCount: 5
         property int interval: 5
         property real pace: 1
-        property bool smoothedEffects: false
         property bool viewItemCount: false
         property bool globalWorld: false
         // Very computationally heavy: 40% vs 20% for 0.1 vs 0