Merge branch 'master' into blender2.8
This commit is contained in:
		@@ -104,7 +104,7 @@ static void foreachObjectLink(
 | 
			
		||||
 | 
			
		||||
static void updateDepsgraph(ModifierData *md,
 | 
			
		||||
                            struct Main *UNUSED(bmain),
 | 
			
		||||
                            struct Scene *scene,
 | 
			
		||||
                            struct Scene *UNUSED(scene),
 | 
			
		||||
                            Object *UNUSED(ob),
 | 
			
		||||
                            struct DepsNodeHandle *node)
 | 
			
		||||
{
 | 
			
		||||
@@ -116,8 +116,9 @@ static void updateDepsgraph(ModifierData *md,
 | 
			
		||||
		DEG_add_object_relation(node, amd->end_cap, DEG_OB_COMP_TRANSFORM, "Array Modifier End Cap");
 | 
			
		||||
	}
 | 
			
		||||
	if (amd->curve_ob) {
 | 
			
		||||
		struct Depsgraph *depsgraph = DEG_get_graph_from_handle(node);
 | 
			
		||||
		DEG_add_object_relation(node, amd->curve_ob, DEG_OB_COMP_GEOMETRY, "Array Modifier Curve");
 | 
			
		||||
		DEG_add_special_eval_flag(scene->depsgraph, &amd->curve_ob->id, DAG_EVAL_NEED_CURVE_PATH);
 | 
			
		||||
		DEG_add_special_eval_flag(depsgraph, &amd->curve_ob->id, DAG_EVAL_NEED_CURVE_PATH);
 | 
			
		||||
	}
 | 
			
		||||
	if (amd->offset_ob != NULL) {
 | 
			
		||||
		DEG_add_object_relation(node, amd->offset_ob, DEG_OB_COMP_TRANSFORM, "Array Modifier Offset");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user