Fix T64842: crash rendering files with bevel curves

This is old logic that no longer makes sense in the new depsgraph, and causes
issues when multiple threads try to modify the same bevel object.

Differential Revision: https://developer.blender.org/D4913
This commit is contained in:
2019-05-21 14:54:08 +02:00
parent 0fc97dc73d
commit 91ce3087aa
11 changed files with 20 additions and 64 deletions

View File

@@ -108,7 +108,7 @@ static void object_force_modifier_update_for_bind(Depsgraph *depsgraph, Object *
BKE_displist_make_mball(depsgraph, scene_eval, ob_eval);
}
else if (ELEM(ob->type, OB_CURVE, OB_SURF, OB_FONT)) {
BKE_displist_make_curveTypes(depsgraph, scene_eval, ob_eval, false, false, NULL);
BKE_displist_make_curveTypes(depsgraph, scene_eval, ob_eval, false, false);
}
}