[Bf-blender-cvs] [490fea61074] blender2.8: Minor cleanup/fix for own rB45f3150c9844326 merge.

Bastien Montagne noreply at git.blender.org
Mon Apr 10 20:39:36 CEST 2017


Commit: 490fea61074dd2ba2a3f6828c0bed48e240f1308
Author: Bastien Montagne
Date:   Mon Apr 10 18:52:35 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB490fea61074dd2ba2a3f6828c0bed48e240f1308

Minor cleanup/fix for own rB45f3150c9844326 merge.

===================================================================

M	source/blender/editors/space_view3d/drawobject.c

===================================================================

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
 	}




More information about the Bf-blender-cvs mailing list