Depsgraph: Ensure scene camera object is always built
This commit is contained in:
parent
b2ca2bb591
commit
a532fe561e
|
@ -89,6 +89,9 @@ void DepsgraphNodeBuilder::build_scene(Main *bmain, Scene *scene)
|
|||
base->object->select_color = select_color++;
|
||||
}
|
||||
}
|
||||
if (scene->camera != NULL) {
|
||||
build_object(scene, scene->camera);
|
||||
}
|
||||
|
||||
/* rigidbody */
|
||||
if (scene->rigidbody_world) {
|
||||
|
|
|
@ -84,6 +84,9 @@ void DepsgraphRelationBuilder::build_scene(Main *bmain, Scene *scene)
|
|||
build_object(bmain, scene, base->object);
|
||||
}
|
||||
}
|
||||
if (scene->camera != NULL) {
|
||||
build_object(bmain, scene, scene->camera);
|
||||
}
|
||||
|
||||
/* rigidbody */
|
||||
if (scene->rigidbody_world) {
|
||||
|
|
Loading…
Reference in New Issue