summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHalcyonGarside <wil.s.blanchard@gmail.com>2023-01-19 15:23:59 -0500
committerHalcyonGarside <wil.s.blanchard@gmail.com>2023-01-19 15:23:59 -0500
commitef35c4002cc801ba0f555f594e3ae0149bd02705 (patch)
tree9890ee2bd6b8fe91107a10a9ce84faf94a91809c
parente514e3732a9588b650776cc962a9e4d8e6ded058 (diff)
Add 'Lighting' to list of Debug Draw viewport options
-rw-r--r--scene/main/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index ef58386b45..d42de43564 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -3916,7 +3916,7 @@ void Viewport::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "use_debanding"), "set_use_debanding", "is_using_debanding");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "use_occlusion_culling"), "set_use_occlusion_culling", "is_using_occlusion_culling");
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "mesh_lod_threshold", PROPERTY_HINT_RANGE, "0,1024,0.1"), "set_mesh_lod_threshold", "get_mesh_lod_threshold");
- ADD_PROPERTY(PropertyInfo(Variant::INT, "debug_draw", PROPERTY_HINT_ENUM, "Disabled,Unshaded,Overdraw,Wireframe"), "set_debug_draw", "get_debug_draw");
+ ADD_PROPERTY(PropertyInfo(Variant::INT, "debug_draw", PROPERTY_HINT_ENUM, "Disabled,Unshaded,Lighting,Overdraw,Wireframe"), "set_debug_draw", "get_debug_draw");
#ifndef _3D_DISABLED
ADD_GROUP("Scaling 3D", "");
ADD_PROPERTY(PropertyInfo(Variant::INT, "scaling_3d_mode", PROPERTY_HINT_ENUM, "Bilinear (Fastest),FSR 1.0 (Fast)"), "set_scaling_3d_mode", "get_scaling_3d_mode");