Blender Git Loki

Git Commits -> Revision 61f5207

August 16, 2015, 18:53 (GMT)
Fix manipulator mouse hover highlighting (Finally! o/)

Issue already existed since rB4ee1de8c3ce6e, used fallback to old manipulator handling since then.

Issue was that we weren't able do identify the highlighted widget after freeing and reinitializing the widget group (as it happens on each redraw). widgets_compare checked the property assigned to the widgets, but since the manipulator widgets trigger operators instead of tweaking a property, it never returned the right result.

Now, instead of comparing widget properties, we use a widget id-name that is unique within it's widget group (see rB3b42468bff06d2).

Hrmpf, and I spent countless hours debugging widget initialization and OGL selection :S

Commit Details:

Full Hash: 61f52072e12aae2989f11fddf253364b2f4328e5
Parent Commit: 3b42468
Lines Changed: +2, -20

2 Modified Paths:

/source/blender/editors/transform/manipulator_widget.c (+1, -9) (Diff)
/source/blender/windowmanager/intern/wm_widgets.c (+1, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021