Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
28 lines
777 B
C++
28 lines
777 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2020 Blender Foundation. All rights reserved. */
|
|
|
|
#include "pipeline_view_layer.h"
|
|
|
|
#include "intern/builder/deg_builder_nodes.h"
|
|
#include "intern/builder/deg_builder_relations.h"
|
|
#include "intern/depsgraph.h"
|
|
|
|
namespace blender::deg {
|
|
|
|
ViewLayerBuilderPipeline::ViewLayerBuilderPipeline(::Depsgraph *graph)
|
|
: AbstractBuilderPipeline(graph)
|
|
{
|
|
}
|
|
|
|
void ViewLayerBuilderPipeline::build_nodes(DepsgraphNodeBuilder &node_builder)
|
|
{
|
|
node_builder.build_view_layer(scene_, view_layer_, DEG_ID_LINKED_DIRECTLY);
|
|
}
|
|
|
|
void ViewLayerBuilderPipeline::build_relations(DepsgraphRelationBuilder &relation_builder)
|
|
{
|
|
relation_builder.build_view_layer(scene_, view_layer_, DEG_ID_LINKED_DIRECTLY);
|
|
}
|
|
|
|
} // namespace blender::deg
|