[Bf-blender-cvs] [26207c278ec] blender2.8: Fix build error with Windows / MSVC.

Brecht Van Lommel noreply at git.blender.org
Thu Apr 19 19:04:47 CEST 2018


Commit: 26207c278ec43a34a71590f5bbf2d823c4898410
Author: Brecht Van Lommel
Date:   Thu Apr 19 19:03:54 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB26207c278ec43a34a71590f5bbf2d823c4898410

Fix build error with Windows / MSVC.

===================================================================

M	source/blender/nodes/shader/node_shader_util.h

===================================================================

diff --git a/source/blender/nodes/shader/node_shader_util.h b/source/blender/nodes/shader/node_shader_util.h
index 94f89443b1d..44c1ab7ca95 100644
--- a/source/blender/nodes/shader/node_shader_util.h
+++ b/source/blender/nodes/shader/node_shader_util.h
@@ -89,6 +89,7 @@ void sh_node_type_base(struct bNodeType *ntype, int type, const char *name, shor
 
 typedef struct ShaderCallData {
 	/* Empty for now, may be reused if we convert shader to texture nodes. */
+	int dummy;
 } ShaderCallData;
 
 void nodestack_get_vec(float *in, short type_in, bNodeStack *ns);



More information about the Bf-blender-cvs mailing list