Fix for points disappearing on second client (the one that's not

drawing) (trying to limit it a bit more to see if it results in no loss
at all)
This commit is contained in:
Artur Gomes 2017-08-17 16:01:53 +01:00
parent 2835130515
commit 321742a865

View file

@ -77,7 +77,7 @@
_isUvModeStretch = _savedSettings.currentTexture.brushType == "stretch",
MIN_STROKE_LENGTH = 0.005, // m
MIN_STROKE_INTERVAL = 66, // ms
MAX_POINTS_PER_LINE = 48; // Quick fix for polyline points disappearing issue.
MAX_POINTS_PER_LINE = 40; // Quick fix for polyline points disappearing issue.
function calculateStrokeNormal() {
if (!_isMouseDrawing) {