Fix Compiler warnings of previous merged PRs

This commit is contained in:
Abdullah Tahiri
2023-11-07 15:56:35 +01:00
committed by abdullahtahiriyo
parent 5a4267a58e
commit dca052bd9d
2 changed files with 4 additions and 0 deletions

View File

@@ -460,6 +460,8 @@ SbVec3f SoDatumLabel::getLabelTextCenter()
else if (datumtype.getValue() == SoDatumLabel::ANGLE) {
return getLabelTextCenterAngle(p1);
}
return p1;
}
SbVec3f SoDatumLabel::getLabelTextCenterDistance(const SbVec3f& p1, const SbVec3f& p2)

View File

@@ -2520,6 +2520,8 @@ protected:
return !arcInfo.isRadiusDoF();
}
return false;
}
void restartCommand(const char* cstrName) {