Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Werner <stefan.werner@tangent-animation.com>2020-09-01 12:45:22 +0300
committerStefan Werner <stefan.werner@tangent-animation.com>2020-09-01 12:47:54 +0300
commit45da7ce177995e0847ba8bf415505b29e0e1413f (patch)
tree9051f7591556ad92f66539719e44f218642e280b /intern/cycles/graph
parente8be55a4859ac87b215268558e6ee9328033f183 (diff)
Cycles: Followup fixes for node ownership refactor.
There were some places where nodes still would end up without owners. See D8540 and 429afe0c626a
Diffstat (limited to 'intern/cycles/graph')
-rw-r--r--intern/cycles/graph/node.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/graph/node.cpp b/intern/cycles/graph/node.cpp
index 14e66959f4f..37387053d97 100644
--- a/intern/cycles/graph/node.cpp
+++ b/intern/cycles/graph/node.cpp
@@ -692,7 +692,8 @@ const NodeOwner *Node::get_owner() const
void Node::set_owner(const NodeOwner *owner_)
{
- owner_ = owner;
+ assert(owner_);
+ owner = owner_;
}
CCL_NAMESPACE_END