Fix T44213: Bevel object from different scene won't update generated bezier curve geometry
The issue was caused by bevel object being automatically added to the scene graph by dag_get_node() and had no incoming relations, even form the scene. This confused scene update flush logic. Now there'll be a scene relation added to such nodes, so they're always reachable from the root node.
This commit is contained in:
parent
62f863b78a
commit
2d05466700
Notes:
blender-bot
2023-02-14 09:17:57 +01:00
Referenced by issue #44213, Bevel object from different scene won't automatically update generated bezier curve geometry
|
@ -960,6 +960,10 @@ DagForest *build_dag(Main *bmain, Scene *sce, short mask)
|
|||
|
||||
/* also flush custom data mask */
|
||||
((Object *)node->ob)->customdata_mask = node->customdata_mask;
|
||||
|
||||
if (node->parent == NULL) {
|
||||
dag_add_relation(dag, scenenode, node, DAG_RL_SCENE, "Scene Relation");
|
||||
}
|
||||
}
|
||||
}
|
||||
/* now set relations equal, so that when only one parent changes, the correct recalcs are found */
|
||||
|
|
Loading…
Reference in New Issue