Wire hilight wrong?

If I create a rectangular wire with four points and four edges, there seems to be two phantom lines that hilight the wire when passed over. These phantom lines seem to be view orientation dependent. It could be that I'm just doing something wrong. I don't know.

I've attached a small Linux/Qt4 example that shows the problem. The initial view displays the wire and two deactivated reference points that indicate the end points of the vertical phantom lines (in that initial view orientation).

OCC v6.3.0

I saw an earlier thread that mentioned the Y axis being off in hilighting, but I don't think this is the same problem. It's almost like the phantom line is part of a bounding box, but not quite.

S. Edward Dolan's picture

After experimenting a bit more I found if I:

context->Deactivate(shape, 0); // no selection of whole shape
context->Activate(shape, 1); // vertex selection
context->Activate(shape, 2); // edge selection

It seems to highlight correctly, but if I add:

context->Activate(shape, 3); // wire selection

The phantom lines once again give a false hilight.