[Bf-blender-cvs] [85e28713825] blender2.8: No more need to tag sss as dirty for EEVEE

Dalai Felinto noreply at git.blender.org
Thu Jun 7 19:13:50 CEST 2018


Commit: 85e28713825fc5d0d3cb6e060e2b851e67b918dd
Author: Dalai Felinto
Date:   Thu Jun 7 19:13:06 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB85e28713825fc5d0d3cb6e060e2b851e67b918dd

No more need to tag sss as dirty for EEVEE

And for the records, this shoudn't have been added to the
GPU_material_uniform_buffer_tag_dirty function since they are unrelated.

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

M	source/blender/gpu/intern/gpu_material.c

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

diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index 0404425ac3f..aa58f4365de 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -221,9 +221,6 @@ void GPU_material_uniform_buffer_tag_dirty(ListBase *gpumaterials)
 		if (material->ubo != NULL) {
 			GPU_uniformbuffer_tag_dirty(material->ubo);
 		}
-		if (material->sss_profile != NULL) {
-			material->sss_dirty = true;
-		}
 	}
 }



More information about the Bf-blender-cvs mailing list