kmcurry / bwjs

Bridgeworks for JavaScript
MIT License
0 stars 0 forks source link

Models having both sockets and plugs are not selectable #88

Closed kmcurry closed 9 years ago

kmcurry commented 9 years ago

I created a Cube with both a socket and a plug. I tried with a socket on the y normal +1 and plug at y normal -1. That didn't work so I tried y normal 1 and x normal 1. In all cases the model is no longer selectable. If I remove either the socket or the plug the model is selected.

screen shot 2015-02-18 at 5 48 03 pm `

5
0.2
0.2
0.2
0.2

`

mbrazell commented 9 years ago

I don't think this is a bug. It's likely that the cube connected to a socket. The cube dimensions are 0.25 on each axis. So 1 would be well outside. When a pin connects, that model becomes part of the socket model, so when you select it after connection, the socket model registers the selection. This allows them both to be inspected as if they are one object. On Feb 18, 2015 5:50 PM, "Kevin Curry" notifications@github.com wrote:

I created a Cube with both a socket and a plug. I tried with a socket on the y normal +1 and plug at y normal -1. That didn't work so I tried y normal 1 and x normal 1. In all cases the model is no longer selectable. If I remove either the socket or the plug the model is selected.

[image: screen shot 2015-02-18 at 5 48 03 pm] https://cloud.githubusercontent.com/assets/69151/6258451/998151f0-b796-11e4-828b-5b7d353e2529.png

5

0.2

0.2

0.2

0.2

— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/88.

mbrazell commented 9 years ago

It was in fact a bug, and is corrected now. Updated in QA.