Skip to content

Commit b48d75c

Browse files
authored
Merge pull request #549 from KhronosGroup/misc/maya2018
adding maya2018 support
2 parents e1f8a40 + ef72ed3 commit b48d75c

File tree

19 files changed

+1088
-3700
lines changed

19 files changed

+1088
-3700
lines changed

COLLADABaseUtils/scripts/COLLADABaseUtils.vcxproj

Lines changed: 0 additions & 318 deletions
Large diffs are not rendered by default.

COLLADAFramework/scripts/COLLADAFramework.vcxproj

Lines changed: 0 additions & 304 deletions
Large diffs are not rendered by default.

COLLADAMax/COLLADAMax.sln

Lines changed: 97 additions & 62 deletions
Large diffs are not rendered by default.

COLLADAMaya/BUILD_WIN.TXT

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,17 @@ Supported versions of Autodesk Maya are:
1010
Autodesk Maya 2013
1111
Autodesk Maya 2014
1212
Autodesk Maya 2015
13+
Autodesk Maya 2016
14+
Autodesk Maya 2017
15+
Autodesk Maya 2018
1316

1417
- Microsoft Visual Studio 2013 (for loading the solution, 2012 may work too)
1518
AND additioal versions of Visual Studio depending of the Maya version:
1619
Visual 2008 for Maya 2011-2012
1720
Visual 2010 for Maya 2013-2014
18-
Visual 2012 for Maya 2014-2015
21+
Visual 2012 for Maya 2014-2016
22+
Visual 2012 update 4 for Maya 2017
23+
Visual Studio 2015 update 3 for Maya 2018
1924

2025

2126
You find the MVS solution file in COLLADAMaya/COLLADAMaya.sln

COLLADAMaya/COLLADAMaya.sln

Lines changed: 153 additions & 1 deletion
Large diffs are not rendered by default.

COLLADAMaya/scripts/COLLADAMaya.vcxproj

Lines changed: 561 additions & 0 deletions
Large diffs are not rendered by default.

COLLADAMaya/src/COLLADAMayaAnimationExporter.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2641,7 +2641,11 @@ namespace COLLADAMaya
26412641
// --------------------------------
26422642
// In-tangent
26432643

2644+
#if MAYA_API_VERSION >= 20180000
2645+
double slopeX, slopeY;
2646+
#else
26442647
float slopeX, slopeY;
2648+
#endif
26452649
animCurveFn.getTangent ( keyPosition, slopeX, slopeY, true /*keyPosition>0*/ );
26462650

26472651
if ( !isWeightedCurve )
@@ -2659,12 +2663,12 @@ namespace COLLADAMaya
26592663
slopeX /= 3.0f;
26602664
slopeY /= 3.0f;
26612665
}
2662-
bkey->inTangent = TangentPoint ( bkey->input - slopeX, bkey->output - slopeY );
2666+
bkey->inTangent = TangentPoint ( (float)(bkey->input - slopeX), (float)(bkey->output - slopeY) );
26632667

26642668
// --------------------------------
26652669
// Out-tangent
26662670

2667-
animCurveFn.getTangent ( keyPosition, slopeX, slopeY, false /*keyPosition>=keyCount-1*/ );
2671+
animCurveFn.getTangent(keyPosition, slopeX, slopeY, false /*keyPosition>=keyCount-1*/);
26682672

26692673
if ( !isWeightedCurve )
26702674
{
@@ -2682,7 +2686,7 @@ namespace COLLADAMaya
26822686
slopeY /= 3.0f;
26832687
}
26842688

2685-
bkey->outTangent = TangentPoint ( bkey->input + slopeX, bkey->output + slopeY );
2689+
bkey->outTangent = TangentPoint ( (float)(bkey->input + slopeX), (float)(bkey->output + slopeY) );
26862690
}
26872691

26882692
// ------------------------------------------------------------

COLLADASaxFrameworkLoader/scripts/COLLADASaxFrameworkLoader.vcxproj

Lines changed: 77 additions & 158 deletions
Large diffs are not rendered by default.

COLLADAStreamWriter/scripts/COLLADAStreamWriter.vcxproj

Lines changed: 0 additions & 284 deletions
Large diffs are not rendered by default.

Externals/LibXML/scripts/LibXML.vcxproj

Lines changed: 0 additions & 290 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)