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

@@ -462,9 +462,9 @@ void View3DInventorViewer::init()
fillLight = new SoDirectionalLight();
fillLight->ref();
fillLight->setName("filllight");
fillLight->direction.setValue(-0.60, -0.35, -0.79);
fillLight->intensity.setValue(0.6);
fillLight->color.setValue(0.95, 0.95, 1.0);
fillLight->direction.setValue(-0.60F, -0.35F, -0.79F);
fillLight->intensity.setValue(0.6F);
fillLight->color.setValue(0.95F, 0.95F, 1.0F);
fillLight->on.setValue(false); // by default off
// Set up background scenegraph with image in it.