Cleanup: Clang format
This commit is contained in:
@@ -133,7 +133,10 @@ void MaterialNode::add_link(bNode *from_node, int from_index, bNode *to_node, in
|
||||
nodeAddLink(ntree, from_node, from_socket, to_node, to_socket);
|
||||
}
|
||||
|
||||
void MaterialNode::add_link(bNode *from_node, const char* from_label, bNode *to_node, const char* to_label)
|
||||
void MaterialNode::add_link(bNode *from_node,
|
||||
const char *from_label,
|
||||
bNode *to_node,
|
||||
const char *to_label)
|
||||
{
|
||||
bNodeSocket *from_socket = nodeFindSocket(from_node, SOCK_OUT, from_label);
|
||||
bNodeSocket *to_socket = nodeFindSocket(to_node, SOCK_IN, to_label);
|
||||
|
@@ -48,7 +48,7 @@ class MaterialNode {
|
||||
bNodeTree *prepare_material_nodetree();
|
||||
bNode *add_node(int node_type, int locx, int locy, std::string label);
|
||||
void add_link(bNode *from_node, int from_index, bNode *to_node, int to_index);
|
||||
void add_link(bNode *from_node, const char* from_label, bNode *to_node, const char* to_label);
|
||||
void add_link(bNode *from_node, const char *from_label, bNode *to_node, const char *to_label);
|
||||
bNode *add_texture_node(COLLADAFW::ColorOrTexture &cot, int locx, int locy, std::string label);
|
||||
void setShaderType();
|
||||
|
||||
|
Reference in New Issue
Block a user