1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

found via cppcheck:

remove code that will never run
make definition and declaration names for parameters match
change floats that were being set to bool values
remove pointer that is never used
This commit is contained in:
firefly2442
2018-01-03 21:17:30 -07:00
parent 914f51031c
commit f066991aa7
7 changed files with 7 additions and 11 deletions

View File

@@ -1218,7 +1218,7 @@ Environment::Environment() {
ssao_radius2 = 0;
ssao_intensity2 = 1;
ssao_bias = 0.01;
ssao_direct_light_affect = false;
ssao_direct_light_affect = 0.0;
ssao_blur = SSAO_BLUR_3x3;
set_ssao_edge_sharpness(4);
set_ssao_quality(SSAO_QUALITY_LOW);