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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-10-17 18:48:09 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-17 18:48:42 +0400
commitded2d8a777cdaec87e557b3d1986a587e1520951 (patch)
tree8e913839958a4bd58a88891d1b5df56eda0e7103 /source
parent04fab84fd10cc8ea46fb82bb8b067ce1ade144a0 (diff)
Fix for pose bones not restoring selection index properly
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/drawarmature.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c
index dfa373f111f..651c9389341 100644
--- a/source/blender/editors/space_view3d/drawarmature.c
+++ b/source/blender/editors/space_view3d/drawarmature.c
@@ -2088,6 +2088,10 @@ static void draw_pose_bones(Scene *scene, View3D *v3d, ARegion *ar, Base *base,
if (v3d->zbuf) glEnable(GL_DEPTH_TEST);
}
}
+
+ if (index != -1) {
+ GPU_select_load_id(-1);
+ }
}
/* in editmode, we don't store the bone matrix... */