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:
authorBastien Montagne <montagne29@wanadoo.fr>2017-04-10 19:52:35 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-04-10 19:52:35 +0300
commit490fea61074dd2ba2a3f6828c0bed48e240f1308 (patch)
tree229c487415a9a3e92558d0adc6a9f28f162c48af /source/blender/editors/space_view3d/drawobject.c
parentd8fa3dd7c3f9ab2bc69912193d77de85bf666113 (diff)
Minor cleanup/fix for own rB45f3150c9844326 merge.
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r--source/blender/editors/space_view3d/drawobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index f4498b1592e..d4a25c2ba10 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -1911,10 +1911,10 @@ static void drawcamera_volume(float near_plane[4][3], float far_plane[4][3], boo
immVertex3fv(pos, far_plane[3]);
immVertex3fv(pos, near_plane[3]);
- immVertex3fv(pos, far_plane[3]);
immVertex3fv(pos, near_plane[3]);
- immVertex3fv(pos, near_plane[0]);
+ immVertex3fv(pos, far_plane[3]);
immVertex3fv(pos, far_plane[0]);
+ immVertex3fv(pos, near_plane[0]);
immEnd();
#endif
}