Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-05-22 11:56:27 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-05-22 18:26:03 +0300
commit6b753382d69015a70e158e340b2d49b54790d4b6 (patch)
tree166f7b848c1df0bb7281ee0166b51643fc6ad650 /rigify/ui.py
parent25f1c2b04e0d98587c88c5ea26b59650e5c2e3f7 (diff)
Rigify: update super_chain to 2.8 and hide most operators from search.
Diffstat (limited to 'rigify/ui.py')
-rw-r--r--rigify/ui.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/rigify/ui.py b/rigify/ui.py
index 0ec38791..0091f7b9 100644
--- a/rigify/ui.py
+++ b/rigify/ui.py
@@ -731,7 +731,7 @@ class LayerInit(bpy.types.Operator):
bl_idname = "pose.rigify_layer_init"
bl_label = "Add Rigify Layers"
- bl_options = {'UNDO'}
+ bl_options = {'UNDO', 'INTERNAL'}
def execute(self, context):
obj = context.object
@@ -748,7 +748,7 @@ class Generate(bpy.types.Operator):
bl_idname = "pose.rigify_generate"
bl_label = "Rigify Generate Rig"
- bl_options = {'UNDO'}
+ bl_options = {'UNDO', 'INTERNAL'}
bl_description = 'Generates a rig from the active metarig armature'
def execute(self, context):
@@ -784,7 +784,7 @@ class SwitchToLegacy(bpy.types.Operator):
bl_idname = "pose.rigify_switch_to_legacy"
bl_label = "Legacy Mode will disable Rigify new features"
bl_description = 'Switches Rigify to Legacy Mode'
- bl_options = {'UNDO'}
+ bl_options = {'UNDO', 'INTERNAL'}
def invoke(self, context, event):
return context.window_manager.invoke_confirm(self, event)
@@ -799,7 +799,7 @@ class Sample(bpy.types.Operator):
bl_idname = "armature.metarig_sample_add"
bl_label = "Add a sample metarig for a rig type"
- bl_options = {'UNDO'}
+ bl_options = {'UNDO', 'INTERNAL'}
metarig_type: StringProperty(
name="Type",
@@ -1211,6 +1211,7 @@ class OBJECT_OT_IK2FK(bpy.types.Operator):
bl_idname = "rigify.ik2fk"
bl_label = "IK2FK"
bl_description = "Snaps IK limb on FK"
+ bl_options = {'INTERNAL'}
def execute(self,context):
rig = context.object
@@ -1226,6 +1227,7 @@ class OBJECT_OT_FK2IK(bpy.types.Operator):
bl_idname = "rigify.fk2ik"
bl_label = "FK2IK"
bl_description = "Snaps FK limb on IK"
+ bl_options = {'INTERNAL'}
def execute(self,context):
rig = context.object
@@ -1240,6 +1242,7 @@ class OBJECT_OT_TransferFKtoIK(bpy.types.Operator):
bl_idname = "rigify.transfer_fk_to_ik"
bl_label = "Transfer FK anim to IK"
bl_description = "Transfer FK animation to IK bones"
+ bl_options = {'INTERNAL'}
def execute(self, context):
rig = context.object
@@ -1255,6 +1258,7 @@ class OBJECT_OT_TransferIKtoFK(bpy.types.Operator):
bl_idname = "rigify.transfer_ik_to_fk"
bl_label = "Transfer IK anim to FK"
bl_description = "Transfer IK animation to FK bones"
+ bl_options = {'INTERNAL'}
def execute(self, context):
rig = context.object
@@ -1268,6 +1272,7 @@ class OBJECT_OT_ClearAnimation(bpy.types.Operator):
bl_idname = "rigify.clear_animation"
bl_label = "Clear Animation"
bl_description = "Clear Animation For FK or IK Bones"
+ bl_options = {'INTERNAL'}
anim_type: StringProperty()
@@ -1290,6 +1295,7 @@ class OBJECT_OT_Rot2Pole(bpy.types.Operator):
bl_idname = "rigify.rotation_pole"
bl_label = "Rotation - Pole toggle"
bl_description = "Toggles IK chain between rotation and pole target"
+ bl_options = {'INTERNAL'}
bone_name: StringProperty(default='')
window: StringProperty(default='ALL')