File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ MStatus MMAnimCurveDiffStatisticsCmd::parseArgs(const MArgList &args) {
187187 argData.isFlagSet (Y_VALUES_B_FLAG_SHORT);
188188
189189 // All four list flags must be provided, or none at all.
190- if (hasAllListInputs && !hasAllListInputs) {
190+ if (hasSomeListInputs && !hasAllListInputs) {
191191 MGlobal::displayError (
192192 CMD_NAME
193193 " : All list value flags (xValues, yValuesA, yValuesB) must be "
@@ -201,7 +201,7 @@ MStatus MMAnimCurveDiffStatisticsCmd::parseArgs(const MArgList &args) {
201201
202202 Count32 xCount = argData.numberOfFlagUses (X_VALUES_FLAG_SHORT);
203203 Count32 yCount1 = argData.numberOfFlagUses (Y_VALUES_A_FLAG_SHORT);
204- Count32 yCount2 = argData.numberOfFlagUses (Y_VALUES_A_FLAG_SHORT );
204+ Count32 yCount2 = argData.numberOfFlagUses (Y_VALUES_B_FLAG_SHORT );
205205
206206 // Validate list lengths
207207 if (xCount != yCount1) {
You can’t perform that action at this time.
0 commit comments