Page MenuHome

PoseLib: use bpy.utils.flip_name()
ClosedPublic

Authored by Demeter Dzadik (Mets) on Nov 11 2021, 4:56 PM.

Details

Summary

Instead of re-implementing BLI_string_flip_side_name, use the python function that was exposed in D12322.

Diff Detail

Event Timeline

Demeter Dzadik (Mets) requested review of this revision.Nov 11 2021, 4:56 PM
Demeter Dzadik (Mets) created this revision.
Sybren A. Stüvel (sybren) requested changes to this revision.Jan 28 2022, 3:13 PM

👍 on the patch, just one small nag.

pose_library/pose_usage.py
25

flip_name is not a very well-known name, so I'd prefer import bpy.utils and then calling bpy.utils.filp_name later in the code.

This revision now requires changes to proceed.Jan 28 2022, 3:13 PM
Demeter Dzadik (Mets) marked an inline comment as done.Jan 28 2022, 3:53 PM
This revision is now accepted and ready to land.Jan 28 2022, 4:48 PM
This revision was automatically updated to reflect the committed changes.