Armature: Add multisampling to posemode.

This commit is contained in:
Clément Foucault
2018-04-27 16:30:03 +02:00
parent 6f5bf23c98
commit d0d282bf2f

View File

@@ -166,12 +166,18 @@ bool DRW_pose_mode_armature(Object *ob, Object *active_ob)
static void POSE_draw_scene(void *vedata)
{
POSE_PassList *psl = ((POSE_Data *)vedata)->psl;
DefaultFramebufferList *dfbl = DRW_viewport_framebuffer_list_get();
DefaultTextureList *dtxl = DRW_viewport_texture_list_get();
MULTISAMPLE_SYNC_ENABLE(dfbl, dtxl)
DRW_draw_pass(psl->bone_envelope);
DRW_draw_pass(psl->bone_outline);
DRW_draw_pass(psl->bone_wire);
DRW_draw_pass(psl->bone_solid);
DRW_draw_pass(psl->relationship);
MULTISAMPLE_SYNC_DISABLE(dfbl, dtxl)
}
/* Create collection settings here.