diff options
Diffstat (limited to 'source/blender/io/collada/Materials.h')
-rw-r--r-- | source/blender/io/collada/Materials.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/io/collada/Materials.h b/source/blender/io/collada/Materials.h index f671a00758d..1886acb7a6a 100644 --- a/source/blender/io/collada/Materials.h +++ b/source/blender/io/collada/Materials.h @@ -48,6 +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); bNode *add_texture_node(COLLADAFW::ColorOrTexture &cot, int locx, int locy, std::string label); void setShaderType(); @@ -68,4 +69,6 @@ class MaterialNode { void set_alpha(COLLADAFW::EffectCommon::OpaqueMode mode, COLLADAFW::ColorOrTexture &cot, COLLADAFW::FloatOrParam &val); + + void update_material_nodetree(); }; |