DRW: de-duplicate vertex & weight paint engines
[blender.git] / source / blender / draw / intern / draw_manager.c
index bd43a35..4647782 100644 (file)
@@ -1218,8 +1218,6 @@ static void drw_engines_enable_from_paint_mode(int mode)
                        use_drw_engine(&draw_engine_sculpt_type);
                        break;
                case CTX_MODE_PAINT_WEIGHT:
-                       use_drw_engine(&draw_engine_paint_weight_type);
-                       break;
                case CTX_MODE_PAINT_VERTEX:
                        use_drw_engine(&draw_engine_paint_vertex_type);
                        break;
@@ -2541,7 +2539,6 @@ void DRW_engines_register(void)
        DRW_engine_register(&draw_engine_overlay_type);
        DRW_engine_register(&draw_engine_paint_texture_type);
        DRW_engine_register(&draw_engine_paint_vertex_type);
-       DRW_engine_register(&draw_engine_paint_weight_type);
        DRW_engine_register(&draw_engine_particle_type);
        DRW_engine_register(&draw_engine_pose_type);
        DRW_engine_register(&draw_engine_sculpt_type);