From c83c1376e6f230355021414d51e643f8a6709a3d Mon Sep 17 00:00:00 2001 From: Mitchell Coote Date: Mon, 28 Feb 2022 10:16:39 +1100 Subject: [PATCH] Changed to MFn types --- cmdx.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/cmdx.py b/cmdx.py index abe2be5..b1236a7 100644 --- a/cmdx.py +++ b/cmdx.py @@ -133,19 +133,19 @@ # Animation blend nodes # Because type checking against MFn.kBlendNodeBase doesn't work :( AnimBlendTypes = ( - om.MTypeId(0x41424e41), # AnimBlendNodeAdditive - om.MTypeId(0x41424141), # AnimBlendNodeAdditiveDA - om.MTypeId(0x4142414c), # AnimBlendNodeAdditiveDL - om.MTypeId(0x41424146), # AnimBlendNodeAdditiveF - om.MTypeId(0x41424641), # AnimBlendNodeAdditiveFA - om.MTypeId(0x4142464c), # AnimBlendNodeAdditiveFL - om.MTypeId(0x41424153), # AnimBlendNodeAdditiveI16 - om.MTypeId(0x41424149), # AnimBlendNodeAdditiveI32 - om.MTypeId(0x41424e52), # AnimBlendNodeAdditiveRotation - om.MTypeId(0x41424e53), # AnimBlendNodeAdditiveScale - om.MTypeId(0x4142424f), # AnimBlendNodeBoolean - om.MTypeId(0x41424e45), # AnimBlendNodeEnum - om.MTypeId(0x41425449), # AnimBlendNodeTime + om.MFn.kBlendNodeAdditiveRotation, + om.MFn.kBlendNodeAdditiveScale, + om.MFn.kBlendNodeBoolean, + om.MFn.kBlendNodeDouble, + om.MFn.kBlendNodeDoubleAngle, + om.MFn.kBlendNodeDoubleLinear, + om.MFn.kBlendNodeEnum, + om.MFn.kBlendNodeFloat, + om.MFn.kBlendNodeFloatAngle, + om.MFn.kBlendNodeFloatLinear, + om.MFn.kBlendNodeInt16, + om.MFn.kBlendNodeInt32, + om.MFn.kBlendNodeTime, ) history = dict()