forked from bartvdbraak/blender
Bugfix #4540
Boolean crashed when using vertexcolors or UVs. The fix is disputable... it just always returns a valid char * for "face vertex material", whatever that may be... this fix seems not to break anything. Also moved the report to Todo tracker, with message: -> Need new Boolean maintainer!
This commit is contained in:
parent
d471d2633c
commit
fde6fc6dd4
@ -140,7 +140,7 @@ char* BOP_Material::getOriginalFaceVertexMaterial(int originalFaceVertex)
|
||||
if (m_originalFaceVertices[i]==originalFaceVertex) b = true;
|
||||
else i++;
|
||||
}
|
||||
return b ? getFaceVertexMaterial(i) : NULL;
|
||||
return b ? getFaceVertexMaterial(i) : m_faceVertexMaterial; /* ton: NULL return crashes... */
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user