Operating system: Linux-4.15.0-54-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.26
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-29 14:01, hash: rBf566212aa237
Description of issue
There is a python template called “gizmo_custom_geometry.py” which adds a gizmo with some custom geometry for the energy of lamps. When run, it appers properly along the Z axis of the lamp, and you can select it and move it.
The problem is that the gizmo is not accurately highlighted when the cursor is over the drawn custom geometry, instead it becomes highlighted when the cursor is over some unclear area in the middle. This makes it hard to select.
If I add the “SCALE” option in the GizmoGroup class to disable the viewport scaling, I can zoom into the geometry, making this fact more evident.
This doesn’t happen with other built-in gizmos like “GIZMO_GT_arrow_3d” for any of the available draw types. The geometry always highlights, following the 3D geometry when the cursor is near, even when pointing to an edge.
Without this working properly is almost useless to write custom gizmos with a different drawing, because those can't be selected.