[Bf-blender-cvs] [8b1b7e8d102] blender2.8: Depsgraph: Fix/workarounf when tagging light probe for data update

Sergey Sharybin noreply at git.blender.org
Mon Oct 2 15:50:12 CEST 2017


Commit: 8b1b7e8d1020fa9e3e6d7361b36219a5596d4e42
Author: Sergey Sharybin
Date:   Mon Oct 2 18:49:49 2017 +0500
Branches: blender2.8
https://developer.blender.org/rB8b1b7e8d1020fa9e3e6d7361b36219a5596d4e42

Depsgraph: Fix/workarounf when tagging light probe for data update

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

M	source/blender/depsgraph/intern/depsgraph_tag.cc

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

diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index 41724100b51..0df2420d662 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -179,6 +179,9 @@ void id_tag_update_object_data(Depsgraph *graph, IDDepsNode *id_node)
 			break;
 		case ID_PA:
 			return;
+		case ID_LP:
+			data_comp = id_node->find_component(DEG_NODE_TYPE_PARAMETERS);
+			break;
 		default:
 			break;
 	}



More information about the Bf-blender-cvs mailing list