Skip to content

Commit

Permalink
Debug only
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Dec 11, 2024
1 parent da99751 commit 8b60567
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/godot/classes/shape_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ using namespace godot;

namespace zylann::godot {

#ifdef DEBUG_ENABLED
inline void set_shape_3d_debug_color(Shape3D &shape, const Color color) {
#if GODOT_VERSION_MAJOR == 4 && GODOT_VERSION_MINOR >= 4
shape.set_debug_color(color);
#endif
}
#endif

} // namespace zylann::godot

Expand Down

0 comments on commit 8b60567

Please sign in to comment.