Skip to content

Commit

Permalink
removed invoke_default
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshQuake committed Jun 14, 2024
1 parent c9c2ecf commit a765315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ue2rigify/core/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def toggle_expand_in_outliner(state=2):
for area in bpy.context.screen.areas:
if area.type == 'OUTLINER':
with bpy.context.temp_override(area=area):
bpy.ops.outliner.show_hierarchy('INVOKE_DEFAULT')
bpy.ops.outliner.show_hierarchy()
for i in range(state):
bpy.ops.outliner.expanded_toggle()
area.tag_redraw()
Expand Down

0 comments on commit a765315

Please sign in to comment.