[Bf-blender-cvs] [3af8f52752b] blender2.8: Fix crash when changing Clay "Edge Strength"

Dalai Felinto noreply at git.blender.org
Fri May 19 15:50:50 CEST 2017


Commit: 3af8f52752b015d11b879e2c7a57882a662855c0
Author: Dalai Felinto
Date:   Fri May 19 15:49:21 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB3af8f52752b015d11b879e2c7a57882a662855c0

Fix crash when changing Clay "Edge Strength"

This was introduced by a removed line in
rB0eb32ab22809d9c0c41bfff5082f58b1a7aa9965

If we want to change the value to a differen default, it should be done
in a separated commit.

===================================================================

M	source/blender/draw/engines/clay/clay_engine.c

===================================================================

diff --git a/source/blender/draw/engines/clay/clay_engine.c b/source/blender/draw/engines/clay/clay_engine.c
index 4ac54386f61..8e66b287fda 100644
--- a/source/blender/draw/engines/clay/clay_engine.c
+++ b/source/blender/draw/engines/clay/clay_engine.c
@@ -856,6 +856,7 @@ static void CLAY_layer_collection_settings_create(RenderEngine *UNUSED(engine),
 	BKE_collection_engine_property_add_float(props, "ssao_distance", 0.2f);
 	BKE_collection_engine_property_add_float(props, "ssao_attenuation", 1.0f);
 	BKE_collection_engine_property_add_float(props, "ssao_factor_cavity", 1.0f);
+	BKE_collection_engine_property_add_float(props, "ssao_factor_edge", 1.0f);
 	BKE_collection_engine_property_add_float(props, "hair_brightness_randomness", 0.0f);
 }




More information about the Bf-blender-cvs mailing list