Fix for pose bones not restoring selection index properly

This commit is contained in:
Sergey Sharybin 2014-10-17 16:48:09 +02:00 committed by Campbell Barton
parent 2be96c0110
commit ff0311714a
1 changed files with 4 additions and 0 deletions

View File

@ -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... */