Armature: Add multisampling to posemode.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user