{"action":"closed","issue":{"url":"https://api.github.com/repos/potree/potree/issues/139","labels_url":"https://api.github.com/repos/potree/potree/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/potree/potree/issues/139/comments","events_url":"https://api.github.com/repos/potree/potree/issues/139/events","html_url":"https://github.com/potree/potree/issues/139","id":68315682,"number":139,"title":"Strange addScalar(1) in TransformationTool","user":{"login":"chiccorusso","id":839405,"avatar_url":"https://avatars.githubusercontent.com/u/839405?v=3","gravatar_id":"","url":"https://api.github.com/users/chiccorusso","html_url":"https://github.com/chiccorusso","followers_url":"https://api.github.com/users/chiccorusso/followers","following_url":"https://api.github.com/users/chiccorusso/following{/other_user}","gists_url":"https://api.github.com/users/chiccorusso/gists{/gist_id}","starred_url":"https://api.github.com/users/chiccorusso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiccorusso/subscriptions","organizations_url":"https://api.github.com/users/chiccorusso/orgs","repos_url":"https://api.github.com/users/chiccorusso/repos","events_url":"https://api.github.com/users/chiccorusso/events{/privacy}","received_events_url":"https://api.github.com/users/chiccorusso/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T09:27:56Z","updated_at":"2015-07-11T08:49:30Z","closed_at":"2015-07-11T08:49:30Z","body":"Hi Markus.\r\nI found strange the presence of an addScalar(1) in TransformationTool.createScaleHandle.dragEvent().\r\n\r\nThe diff that is calculated at TransformationTool.js:341 is added to the original scale value, so the addScale(1) should not be needed. Actually, in my application it has the side effect to instantly grow the clip volume at the mouseDown on any scale handle. removing it, the TransformationTool works OK.\r\n\r\nIn the examples, its presence or absence seems to change anything. Is it ok to remove it?"}}