Skip to content

Commit

Permalink
feat: add rig section to info panel
Browse files Browse the repository at this point in the history
  • Loading branch information
GixoXYZ committed Sep 1, 2023
1 parent 0bc9966 commit 57a22bf
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion ui/info_ui_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def info_pitfalls(layout, context):
parent=box
)

# Particle system info section
# Rendering info section
title = "Rendering"
sub_panel = box_sub_panel(
layout,
Expand All @@ -131,3 +131,26 @@ def info_pitfalls(layout, context):
text=text1,
parent=box
)

# Rig info section
title = "Rig"
sub_panel = box_sub_panel(
layout,
"GROUP_BONE",
title,
gbh_info,
"info_rig",
False
)
if sub_panel[0]:
body = sub_panel[2]

col = body.column()
col.label(text="Automatic weight paint behaves unexpectedly?", icon="INFO")
box = body.box()
text1 = '- This is could be caused by flipped normals. Add "GBG Flip Faces" node group from the library to the hair object and things should start to behave as expected.'
multi_line_text(
context=context,
text=text1,
parent=box
)

0 comments on commit 57a22bf

Please sign in to comment.