Open katlandreth opened 9 years ago
I'm using JogDial's angle(radians)
function to update the controls for the selected Part. It seems to be the only way to set the knob position programmatically without hacking the source.
As luck would have it...
Using JogDial's angle(radians)
function triggers mousemove
on the knob which then calls our setMass
function. This works out ok for a while, ex., selecting back and forth between two Parts, but eventually the dial and the attribute's value become the same.
Expected Behavior: Dials in the Actions Bar should reflect the current value of the attributes that are applied to the selected part. IE if I select a part that has no Opacity applied to it, the knob should be at the top of the dial. If I then select another part that does have Opacity applied, the knob should move to the Opacity value of that part.
Current (undesired) Behavior: Instead of reflecting the value of the currently selected part, dials remain at the position of last use. For example, if I select part A and turn the roam dial, then select part B that I haven't applied roam to, the dial remains in the same position as it was when I applied roam to part A.