Blender
V5.0
source
blender
depsgraph
intern
depsgraph_relation.cc
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2020 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#include "
intern/depsgraph_relation.hh
"
/* own include */
10
11
#include "
intern/node/deg_node.hh
"
12
13
namespace
blender::deg
{
14
15
void
Relation::unlink
()
16
{
17
/* Sanity check. */
18
BLI_assert
(
from
!=
nullptr
&&
to
!=
nullptr
);
19
from
->outlinks.remove_first_occurrence_and_reorder(
this
);
20
to
->inlinks.remove_first_occurrence_and_reorder(
this
);
21
}
22
23
}
// namespace blender::deg
BLI_assert
#define BLI_assert(a)
Definition
BLI_assert.h:46
deg_node.hh
depsgraph_relation.hh
blender::deg
Definition
DEG_depsgraph_light_linking.hh:14
blender::deg::Relation::to
Node * to
Definition
depsgraph_relation.hh:44
blender::deg::Relation::from
Node * from
Definition
depsgraph_relation.hh:43
blender::deg::Relation::unlink
void unlink()
Definition
depsgraph_relation.cc:15
Generated on
for Blender by
doxygen
1.16.1