Skip to content
Snippets Groups Projects
Commit eb071c9f authored by Jacques Lucke's avatar Jacques Lucke
Browse files

Merge branch 'blender-v3.0-release'

parents 48e64a5f de3fda29
No related branches found
No related tags found
No related merge requests found
...@@ -167,7 +167,11 @@ DInputSocket DOutputSocket::get_active_corresponding_group_output_socket() const ...@@ -167,7 +167,11 @@ DInputSocket DOutputSocket::get_active_corresponding_group_output_socket() const
BLI_assert(socket_ref_->node().is_group_node()); BLI_assert(socket_ref_->node().is_group_node());
const DTreeContext *child_context = context_->child_context(socket_ref_->node()); const DTreeContext *child_context = context_->child_context(socket_ref_->node());
BLI_assert(child_context != nullptr); if (child_context == nullptr) {
/* Can happen when the group node references a non-existant group (e.g. when the group is
* linked but the original file is not found). */
return {};
}
const NodeTreeRef &child_tree = child_context->tree(); const NodeTreeRef &child_tree = child_context->tree();
Span<const NodeRef *> group_output_nodes = child_tree.nodes_by_type("NodeGroupOutput"); Span<const NodeRef *> group_output_nodes = child_tree.nodes_by_type("NodeGroupOutput");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment