mirror of
https://github.com/DarklightGames/io_scene_psk_psa.git
synced 2025-02-20 03:11:16 +01:00
Added a docstring for populate_bone_group_list
This commit is contained in:
parent
8495482345
commit
df6bdb96a4
@ -58,6 +58,12 @@ def get_nla_strips_in_timeframe(object, frame_min, frame_max) -> List[NlaStrip]:
|
|||||||
|
|
||||||
|
|
||||||
def populate_bone_group_list(armature_object: Object, bone_group_list: Iterable[BoneGroupListItem]) -> None:
|
def populate_bone_group_list(armature_object: Object, bone_group_list: Iterable[BoneGroupListItem]) -> None:
|
||||||
|
"""
|
||||||
|
Updates the bone group collection.
|
||||||
|
|
||||||
|
Bone group selections are preserved between updates unless none of the groups were previously selected;
|
||||||
|
otherwise, all groups are selected by default.
|
||||||
|
"""
|
||||||
has_selected_groups = any([g.is_selected for g in bone_group_list])
|
has_selected_groups = any([g.is_selected for g in bone_group_list])
|
||||||
unassigned_group_is_selected, selected_assigned_group_names = True, []
|
unassigned_group_is_selected, selected_assigned_group_names = True, []
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user