Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScurest <scurest>2021-05-14 00:14:57 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2021-05-14 00:43:37 +0300
commit2953732fc5e159d2ae0e9fc23c593a9127a2004a (patch)
tree9026120e8e05c4227eaee3cf8cfc4fd339532f4e /source/blender/io/collada/Materials.h
parentd889e9684aaf523a422227f0aa61079705865a16 (diff)
Collada import: connect Emission texture to Emission socket
An emission texture is currently connected to the Base Color socket. It should connect to the Emission socket, like a constant does. Reviewed By: gaiaclary Differential Revision: https://developer.blender.org/D10990
Diffstat (limited to 'source/blender/io/collada/Materials.h')
-rw-r--r--source/blender/io/collada/Materials.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/io/collada/Materials.h b/source/blender/io/collada/Materials.h
index 2d8c823a4c2..431c309467a 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();