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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-10-17 18:48:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-10-21 14:14:26 +0400
commitff0311714aded7c95a0eaf95cab1cc9fa6bed459 (patch)
treeef1e7f539bdb02ea63f653e0a54a7738607d3188
parent2be96c0110b0966c53c597b38398068823db8728 (diff)
Fix for pose bones not restoring selection index properly
-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... */