Remove render.opacity as it's not valid for constraints

This commit is contained in:
Richard Davey 2020-01-01 20:02:15 +00:00
parent 58c8efc2e5
commit 7fdcfd540c

View file

@ -1617,7 +1617,7 @@ var World = new Class({
return this;
}
graphics.lineStyle(lineThickness, lineColor, lineOpacity * render.opacity);
graphics.lineStyle(lineThickness, lineColor, lineOpacity);
var bodyA = constraint.bodyA;
var bodyB = constraint.bodyB;