RJ Barrett dropped 39 points, and Jakob Poeltl added a 30-point, 15-rebound double-double as the Toronto Raptors ended their seven-game skid with a 130-119 win over the Indiana Pacers.