Commit: c986a2c7aa33423cfdda575d8ed2b50caf053495
Author: Mike Erwin
Date:   Fri Apr 7 03:51:10 2017 -0400
Branches: blender2.8
https://developer.blender.org/rBc986a2c7aa33423cfdda575d8ed2b50caf053495

fix rotation manipulator's Push/PopMatrix balance

Was popping out the bottom of the stack.

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

M       source/blender/editors/transform/transform_manipulator.c

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

diff --git a/source/blender/editors/transform/transform_manipulator.c 
b/source/blender/editors/transform/transform_manipulator.c
index ffa22e1326b..384bdb3b258 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -1187,6 +1187,7 @@ static void draw_manipulator_rotate(
                }
 
                glDisable(GL_CLIP_DISTANCE0);
+               gpuPushMatrix(); /* to balance final pop at end of function */
        }
        else {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to