FreeCAD: Compiler warning fixes

This commit is contained in:
Chris Hennes
2025-03-12 23:16:43 -05:00
committed by Kacper Donat
parent b170b8e27c
commit 21c07cabc5
15 changed files with 32 additions and 24 deletions

View File

@@ -135,7 +135,7 @@ void ViewProviderPlane::attach(App::DocumentObject * obj) {
faceSeparator->addChild(faceSet);
auto textTranslation = new SoTranslation();
SbVec3f centeringVec = size * SbVec3f(0.36, 0.49, 0); // NOLINT
SbVec3f centeringVec = size * SbVec3f(0.36F, 0.49F, 0.0F); // NOLINT
textTranslation->translation.setValue(centeringVec);
sep->addChild(textTranslation);