Skip to content
Snippets Groups Projects
Commit cd47f86c authored by Callum Linden's avatar Callum Linden
Browse files

MAINT-6578 Add back Y Flip into QuickTime plugin used in OS X to match viewer setting

parent 0870ee4d
No related branches found
No related tags found
No related merge requests found
......@@ -311,9 +311,7 @@ class MediaPluginQuickTime : public MediaPluginBase
MatrixRecord transform;
SetIdentityMatrix( &transform ); // transforms are additive so start from identify matrix
double scaleX = (double) mWidth / mNaturalWidth;
// 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 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 ) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment