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:
authorMike Erwin <significant.bit@gmail.com>2017-04-07 10:51:10 +0300
committerMike Erwin <significant.bit@gmail.com>2017-04-07 10:51:10 +0300
commitc986a2c7aa33423cfdda575d8ed2b50caf053495 (patch)
treec59dfe7d275b1a177807ce37c0b3b4bce91f8397 /source/blender/editors/transform
parent115a889bd7bbe1dd995c6a85e1b1413c78720ede (diff)
fix rotation manipulator's Push/PopMatrix balance
Was popping out the bottom of the stack.
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_manipulator.c1
1 files changed, 1 insertions, 0 deletions
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 {