[Bf-blender-cvs] [905366ca7e1] blender2.8: Fix/workaround T52127: Combed hair from 2.78 not showing when appending

Sergey Sharybin noreply at git.blender.org
Thu Jul 20 15:17:25 CEST 2017


Commit: 905366ca7e12400b74c8ab791eb4975158c1dd6c
Author: Sergey Sharybin
Date:   Thu Jul 20 15:15:25 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB905366ca7e12400b74c8ab791eb4975158c1dd6c

Fix/workaround T52127: Combed hair from 2.78 not showing when appending

Quick solution to prevent particle components from being tagged for complete
re-evaluaiton.

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

M	source/blender/depsgraph/intern/nodes/deg_node.cc

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

diff --git a/source/blender/depsgraph/intern/nodes/deg_node.cc b/source/blender/depsgraph/intern/nodes/deg_node.cc
index b80d95e9076..f53f3c96800 100644
--- a/source/blender/depsgraph/intern/nodes/deg_node.cc
+++ b/source/blender/depsgraph/intern/nodes/deg_node.cc
@@ -259,6 +259,10 @@ void IDDepsNode::tag_update(Depsgraph *graph)
 				do_component_tag = false;
 			}
 		}
+		else if (comp_node->type == DEG_NODE_TYPE_EVAL_PARTICLES) {
+			/* Only do explicit particle settings tagging. */
+			do_component_tag = false;
+		}
 		if (do_component_tag) {
 			comp_node->tag_update(graph);
 		}




More information about the Bf-blender-cvs mailing list