Page MenuHome

Skyrocketing (infm) values when disabling Continuous Drag
Open, Confirmed, HighPublic


System Information
Windows 8.1 64 bits

Blender Version
Broken: Blender 2.80 release
Worked: Blender 2.79

Short description of error
When changing values for ‘Dimensions’ with the slider, the values goes to “infm”

Exact steps for others to reproduce the error (via attached blend file)

  1. Load attached .Blend, or your own.
  2. Disable ‘continuous drag’ (Preferences->Input)
  3. Make sure the cube is selected
  4. In the sidebar of 3d view->’Dimensions’ change value in any of X, Y, Z by dragging.

5... Notice how the value skyrockets with just small mouse movements.

(This might(?) happen with ‘Rotate' as well, but not nearly as high value.)



Event Timeline

Campbell Barton (campbellbarton) lowered the priority of this task from Needs Triage by Developer to Confirmed, High.Aug 2 2019, 2:10 PM

@Campbell Barton (campbellbarton) : I have added this to 2.81 milestone (since it was set to "High"), mind checking again?

I see an easy fix to this. The problem is in view3d_buttons.c

It's the way this problem has been fixed everywhere else but it's frankly kind of hacky.

I made a diff for it but I didn't submit it because it still seems like every time a button is created with a float value, the limit is set arbitrarily. In my mind you should be able to set the limits to +- FLT_MAX without breaking everything. I couldn't find where click and drag was implemented for the buttons but I feel like that is where the fix should be applied, not as it was here and so many other places in the code base.