diff options
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 |