Skip to content
Snippets Groups Projects
Commit e4b8340d authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Pose Library: mark 'for keymap' operators as internal

The `POSELIB_OT_apply_pose_asset_for_keymap` and
`POSELIB_OT_blend_pose_asset_for_keymap` operators are a bit special, as
they are for use in the keymap only. Marking them as `INTERNAL` removes
them from the F3 menu (which will already contain the regular
apply/blend operators anyway).
parent adcfbf4d
No related branches found
No related tags found
No related merge requests found
......@@ -405,7 +405,7 @@ class POSELIB_OT_pose_asset_select_bones(PoseAssetUser, Operator):
# "Flip Pose" checkbox.
class POSELIB_OT_blend_pose_asset_for_keymap(Operator):
bl_idname = "poselib.blend_pose_asset_for_keymap"
bl_options = {"REGISTER", "UNDO"}
bl_options = {"REGISTER", "UNDO", "INTERNAL"}
_rna = bpy.ops.poselib.blend_pose_asset.get_rna_type()
bl_label = _rna.name
......@@ -431,7 +431,7 @@ class POSELIB_OT_blend_pose_asset_for_keymap(Operator):
# "Flip Pose" checkbox.
class POSELIB_OT_apply_pose_asset_for_keymap(Operator):
bl_idname = "poselib.apply_pose_asset_for_keymap"
bl_options = {"REGISTER", "UNDO"}
bl_options = {"REGISTER", "UNDO", "INTERNAL"}
_rna = bpy.ops.poselib.apply_pose_asset.get_rna_type()
bl_label = _rna.name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment