Cleanup: clang-format

This commit is contained in:
2019-09-24 10:15:43 +02:00
parent 36683475d1
commit 9c62ac562c

View File

@@ -703,7 +703,8 @@ void ShaderManager::get_requested_features(Scene *scene,
requested_features->nodes_features |= NODE_FEATURE_BUMP;
if (shader->displacement_method == DISPLACE_BOTH) {
requested_features->nodes_features |= NODE_FEATURE_BUMP_STATE;
requested_features->max_nodes_group = max(requested_features->max_nodes_group, NODE_GROUP_LEVEL_1);
requested_features->max_nodes_group = max(requested_features->max_nodes_group,
NODE_GROUP_LEVEL_1);
}
}
/* On top of volume nodes, also check if we need volume sampling because