You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Godot 3.2.3
Windows 10 64 bits
OpenGL ES 3.0 Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
I'm making a plugin where I show a custom wireframe gizmo with EditorSpatialGizmoPlugin. I need it to be shown on top, so I set the on_top parameter to true in create_material. However it does not have any effect.
With wireframe mode turned on, you can see where the gizmo is supposed to be:
MRP: GizmoOnTop.zip
Check the plugin is enabled in ProjectSettings, open main.tscn, select the MeshInstance.
The text was updated successfully, but these errors were encountered:
Zylann
changed the title
The "on_top" property of EditorSpatialGizmoPlugin.create_material has no effect
The "on_top" parameter of EditorSpatialGizmoPlugin.create_material has no effect
Dec 3, 2020
I hit this same bug when working on a custom gizmo. I've linked a PR with a fix that worked for me.
Since the MRP was for Godot 3.x I updated it to 4.3 (it still opens in 4.2.1 stable which I've used to compare it with my custom build): GizmoOnTop_4_3.zip
With the linked PR the circle renders over the geometry when the gizmo is being used as expected:
Godot 3.2.3
Windows 10 64 bits
OpenGL ES 3.0 Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
I'm making a plugin where I show a custom wireframe gizmo with
EditorSpatialGizmoPlugin
. I need it to be shown on top, so I set theon_top
parameter totrue
increate_material
. However it does not have any effect.With wireframe mode turned on, you can see where the gizmo is supposed to be:
MRP:
GizmoOnTop.zip
Check the plugin is enabled in ProjectSettings, open
main.tscn
, select theMeshInstance
.The text was updated successfully, but these errors were encountered: