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:
authorCampbell Barton <ideasman42@gmail.com>2015-08-25 01:50:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-08-25 01:50:53 +0300
commit1080a7d5e132c162c80f3fc461885b483f8ac722 (patch)
tree5e3fc2172af6f870bb31b4a30f8a840467505296 /source/blender/blenkernel/intern/DerivedMesh.c
parent7d516f11f7fb5bf8374a9675c25516694fe2eda2 (diff)
Cleanup: style
Diffstat (limited to 'source/blender/blenkernel/intern/DerivedMesh.c')
-rw-r--r--source/blender/blenkernel/intern/DerivedMesh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c
index c11d8c32cb8..6249e10d56f 100644
--- a/source/blender/blenkernel/intern/DerivedMesh.c
+++ b/source/blender/blenkernel/intern/DerivedMesh.c
@@ -3331,7 +3331,7 @@ void DM_vertex_attributes_from_gpu(DerivedMesh *dm, GPUVertexAttribs *gattribs,
a = attribs->tottface++;
if (layer != -1) {
- attribs->tface[a].array = is_editmesh ? NULL: ldata->layers[layer].data;
+ attribs->tface[a].array = is_editmesh ? NULL : ldata->layers[layer].data;
attribs->tface[a].em_offset = ldata->layers[layer].offset;
}
else {
@@ -3351,7 +3351,7 @@ void DM_vertex_attributes_from_gpu(DerivedMesh *dm, GPUVertexAttribs *gattribs,
a = attribs->totmcol++;
if (layer != -1) {
- attribs->mcol[a].array = is_editmesh ? NULL: ldata->layers[layer].data;
+ attribs->mcol[a].array = is_editmesh ? NULL : ldata->layers[layer].data;
/* odd, store the offset for a different layer type here, but editmode draw code expects it */
attribs->mcol[a].em_offset = ldata->layers[layer].offset;
}