summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorcallum_linden <none@none>2016-05-31 09:41:37 -0700
committercallum_linden <none@none>2016-05-31 09:41:37 -0700
commitdca6153c236dbd81f3f0c23b449136452f7d7ef9 (patch)
tree900168105d495d959960886b44bb962d35569717 /indra
parent282956e7688169e539059385962cbd6a295255f6 (diff)
Remove local flip (as part of resize) in QuickTime plugin for OSX
Diffstat (limited to 'indra')
-rwxr-xr-xindra/media_plugins/quicktime/media_plugin_quicktime.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/media_plugins/quicktime/media_plugin_quicktime.cpp b/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
index ff1ed8bfbc..011fd4e051 100755
--- a/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
+++ b/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
@@ -311,7 +311,9 @@ private:
MatrixRecord transform;
SetIdentityMatrix( &transform ); // transforms are additive so start from identify matrix
double scaleX = (double) mWidth / mNaturalWidth;
- double scaleY = -1.0 * (double) mHeight / mNaturalHeight;
+
+ // 2016-05-31 CP remove local flip (via -1.0) since texture coods for media on a prim are now flipped for VLC/CEF
+ double scaleY = 1.0 * (double) mHeight / mNaturalHeight;
double centerX = mWidth / 2.0;
double centerY = mHeight / 2.0;
ScaleMatrix( &transform, X2Fix( scaleX ), X2Fix( scaleY ), X2Fix( centerX ), X2Fix( centerY ) );