diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-05-19 16:49:21 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-05-19 16:50:30 +0300 |
commit | 3af8f52752b015d11b879e2c7a57882a662855c0 (patch) | |
tree | 02aa823cc20a844bdbd6b8164856e076b42d11eb /source/blender | |
parent | 4525357a3a5262889217170245bc0c308e3d5a1f (diff) |
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.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/clay/clay_engine.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |