Delete some redundant code

This commit is contained in:
David Rowe 2017-10-06 11:14:07 +13:00
parent 5587a2fdf8
commit 5c72a41163

View file

@ -1043,10 +1043,6 @@
wasScaleTool = toolSelected === TOOL_SCALE;
doUpdateState = true;
}
if (toolSelected === TOOL_COLOR && intersection.entityID !== intersectedEntityID) {
intersectedEntityID = intersection.entityID;
doUpdateState = true;
}
if ((toolSelected === TOOL_COLOR || toolSelected === TOOL_PHYSICS)
&& intersection.entityID !== intersectedEntityID) {
intersectedEntityID = intersection.entityID;