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
This is because the viewports have the debug_draw parameter and the associated enum with it. I didn't think much about it before, but I added an abbreviation for DebugDraw to Dbg3 in advance. You can use it to avoid conflict.
In this case, it's probably worth completely renaming the singleton to something like DebugDraw3 and adding DebugDraw2 (for 2d).
Or maybe Dd3d or Dd3 is better? What do you think is the best name to use?
Godot version
4.0.3
DebugDraw3D version
1.0.0 (downloaded from the asset lib, not sure where to check for the version)
On which operating systems the error occurs
Linux
Using which renderers the error occurs
Vulkan, GLES3
Issue description
For some reason when trying to use
DebugDraw
in aViewport
script (orSubViewport
, etc.) it refuses to work, yielding two possible errors:Those errors don't show up on a
Node
-extending script, and the DebugDraw thing seem to work correctly in aNode
script.simplescreenrecorder-2023-05-30_15.22.29.webm
Steps to reproduce
create a script file in a project with DebugDraw installed, and put that in it:
Minimal reproduction project
(contains literally a clean install of the addon from the asset lib and the above script)
DebugDrawViewportBug.zip
The text was updated successfully, but these errors were encountered: