Skip to content

Commit

Permalink
UPBGE: Fix compilation error on MSVC 2013
Browse files Browse the repository at this point in the history
  • Loading branch information
youle31 committed Nov 12, 2017
1 parent 094696e commit 0a8ea4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/gameengine/Converter/BL_BlenderDataConversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ void BL_ConvertDerivedMeshToArray(DerivedMesh *dm, Mesh *me, const std::vector<B
const MVert& mvert = mverts[vertid];

static const float dummyTangent[4] = {0.0f, 0.0f, 0.0f, 0.0f};
const float (&tan)[4] = tangent ? tangent[j] : dummyTangent;
const float *tan = tangent ? tangent[j] : dummyTangent;

float uvs[RAS_Texture::MaxUnits][2];
unsigned int rgba[RAS_Texture::MaxUnits];
Expand Down

0 comments on commit 0a8ea4d

Please sign in to comment.