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>2013-03-02 16:05:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-02 16:05:25 +0400
commit7d5c51a96f28b332093684a6236778bc0a0738ec (patch)
tree78ed5eb77191eeaf3437f1852e816de496cfebc1 /source/blender/blenkernel/intern/pbvh.c
parent8f01b50e147b701fb0b3e2251fec88bec645df50 (diff)
now dragging an image onto an empty can be done without holding Ctrl.
Make it set the empty draw type for existing empty object. change from yakca on IRC also some whitespace cleanup.
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh.c')
-rw-r--r--source/blender/blenkernel/intern/pbvh.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c
index 483dd2570e2..477ae27394f 100644
--- a/source/blender/blenkernel/intern/pbvh.c
+++ b/source/blender/blenkernel/intern/pbvh.c
@@ -1057,10 +1057,10 @@ static void pbvh_update_draw_buffers(PBVH *bvh, PBVHNode **nodes, int totnode)
node->prim_indices,
node->totprim);
break;
- case PBVH_BMESH:
+ case PBVH_BMESH:
node->draw_buffers =
- GPU_build_bmesh_buffers(bvh->flags &
- PBVH_DYNTOPO_SMOOTH_SHADING);
+ GPU_build_bmesh_buffers(bvh->flags &
+ PBVH_DYNTOPO_SMOOTH_SHADING);
break;
}
@@ -1089,12 +1089,12 @@ static void pbvh_update_draw_buffers(PBVH *bvh, PBVHNode **nodes, int totnode)
node->face_vert_indices,
bvh->show_diffuse_color);
break;
- case PBVH_BMESH:
+ case PBVH_BMESH:
GPU_update_bmesh_buffers(node->draw_buffers,
- bvh->bm,
- node->bm_faces,
- node->bm_unique_verts,
- node->bm_other_verts);
+ bvh->bm,
+ node->bm_faces,
+ node->bm_unique_verts,
+ node->bm_other_verts);
break;
}