diff options
author | Stefan Werner <stefan.werner@tangent-animation.com> | 2020-09-01 12:45:22 +0300 |
---|---|---|
committer | Stefan Werner <stefan.werner@tangent-animation.com> | 2020-09-01 12:47:54 +0300 |
commit | 45da7ce177995e0847ba8bf415505b29e0e1413f (patch) | |
tree | 9051f7591556ad92f66539719e44f218642e280b /intern/cycles/graph/node.cpp | |
parent | e8be55a4859ac87b215268558e6ee9328033f183 (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/node.cpp')
-rw-r--r-- | intern/cycles/graph/node.cpp | 3 |
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 |