From 2732210fc99de4f3912af1a718fc5c9eaa9fad92 Mon Sep 17 00:00:00 2001 From: Onek8 Date: Sun, 11 May 2025 19:46:28 +0000 Subject: [PATCH] moisesjpelaez - Oimo Physics --- leenkx/blender/lnx/props_ui.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/leenkx/blender/lnx/props_ui.py b/leenkx/blender/lnx/props_ui.py index ff564b3..c266d9c 100644 --- a/leenkx/blender/lnx/props_ui.py +++ b/leenkx/blender/lnx/props_ui.py @@ -2749,20 +2749,20 @@ class LNX_PT_BulletDebugDrawingPanel(bpy.types.Panel): layout.use_property_decorate = False wrd = bpy.data.worlds['Lnx'] - if wrd.lnx_physics_engine != 'Bullet': + if wrd.lnx_physics_engine != 'Bullet' and wrd.lnx_physics_engine != 'Oimo': row = layout.row() row.alert = True - row.label(text="Physics debug drawing is only supported for the Bullet physics engine") + row.label(text="Physics debug drawing is only supported for the Bullet and Oimo physics engines") col = layout.column(align=False) - col.prop(wrd, "lnx_bullet_dbg_draw_wireframe") - col.prop(wrd, "lnx_bullet_dbg_draw_raycast") - col.prop(wrd, "lnx_bullet_dbg_draw_aabb") - col.prop(wrd, "lnx_bullet_dbg_draw_contact_points") - col.prop(wrd, "lnx_bullet_dbg_draw_constraints") - col.prop(wrd, "lnx_bullet_dbg_draw_constraint_limits") - col.prop(wrd, "lnx_bullet_dbg_draw_normals") - col.prop(wrd, "lnx_bullet_dbg_draw_axis_gizmo") + col.prop(wrd, "lnx_physics_dbg_draw_wireframe") + col.prop(wrd, "lnx_physics_dbg_draw_raycast") + col.prop(wrd, "lnx_physics_dbg_draw_aabb") + col.prop(wrd, "lnx_physics_dbg_draw_contact_points") + col.prop(wrd, "lnx_physics_dbg_draw_constraints") + col.prop(wrd, "lnx_physics_dbg_draw_constraint_limits") + col.prop(wrd, "lnx_physics_dbg_draw_normals") + col.prop(wrd, "lnx_physics_dbg_draw_axis_gizmo") def draw_custom_node_menu(self, context): """Extension of the node context menu.