Author Topic: Impossible (almost) to select single candy cane  (Read 1143 times)

Offline AAH

  • Newbie
  • *
  • Posts: 30
    • View Profile
Impossible (almost) to select single candy cane
« on: November 17, 2017, 04:14:14 AM »
  If you place a single candy cane and then try to select it by clicking on the preview of it it appears to be impossible to select it. You can select it via model list or via a selection box extending around it.
 On a related issue the individual candy canes appear to be locked to something like a 3:2 ratio regardless of how you stretch the cane via the corner thingies. If you have more than 1 then you end up with overlapping canes.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Impossible (almost) to select single candy cane
« Reply #1 on: November 17, 2017, 06:30:14 AM »
Hmm...not in front of xLights right now but I didn't think it was a corner point you use to set the can height there is a top center handle.  Pretty sure I've always been able to make them how I wanted.  For selection is the cane curving to the right like it's supposed to?  You should be able to select that area below the curve to the right of the stalk.

Offline AAH

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Impossible (almost) to select single candy cane
« Reply #2 on: November 18, 2017, 12:48:10 AM »
If you have 2 or more canes you can click within the space they occupy and they stay grabbed. If it's a single cane then it looks like it's a 1 dimensional object. The handles don't act quite as expected as the canes always seem to have that 3:2 ratio.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Impossible (almost) to select single candy cane
« Reply #3 on: November 18, 2017, 07:44:06 AM »
I just tried it out and yes the ratio stays the same but I'm not having trouble grabbing a single candy cane.  I attached a screenshot and I can click pretty much anywhere above that red line and below the top handle and it grabs the cane.

Yes if you drag the top handle up too far the canes will overlap.  To prevent that you need to drag the lower blue handle over first and give it more width first and then adjust the top handle.  You'll notice that the top handle moves independently of the bottom handles but when you move a bottom handle it maintains the width/height ratio.   So sometimes you need to drop the top handle down and then stretch the bottom.  I agree you can't squeeze the curve of the cane any closer together but that's just how they wrote the algorithm to place the nodes.  People always have the option for drawing a custom model when the built in ones don't fit their needs.

Offline AAH

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Impossible (almost) to select single candy cane
« Reply #4 on: November 18, 2017, 09:10:29 PM »
Thanks for looking Gil.
I now worked out precisely how to replicate my original bug. I don't know how I ended up doing it but it was while trying to create an 8 cane candy can fan and I was rotating things all over the place.
Create a singe candy cane
Use bottom centre handle to rotate cane 90 degrees to the right.
Use top handle to rotate back to original position.
Deselect the candy cane.
Click repeatedly in increasing frustration on the location of the candy cane without it being selected.

As you would typically not do the process I did unless you were trying to replicate this fault or if you're fumbling away madly it may not be worth doing anything about it. I now know how to solve it so my problem is sorted.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Impossible (almost) to select single candy cane
« Reply #5 on: November 19, 2017, 05:39:35 AM »
Yes with any model there are ways you can make it too small or off-screen and render it as an unselectable model.  But its always recoverable because we provide you the "Size/Location" property window where you can type in values.  Now if you start typing in 0 or really tiny values you could also make a model unselectable.