From 0a412d988c74510b2a455b86bdb64f366ae9051c Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Wed, 14 Nov 2018 18:38:10 +0300 Subject: Rigify: revert erroneous edits from Blender 2.8 update commit. Fix remaining mistakes from fe90ef2b4 not corrected by 9940479d2. --- rigify/legacy/rigs/basic/copy.py | 4 ++-- rigify/legacy/rigs/basic/copy_chain.py | 4 ++-- rigify/legacy/rigs/pitchipoy/super_copy.py | 2 +- rigify/legacy/rigs/pitchipoy/super_face.py | 16 ++++++++-------- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'rigify/legacy') diff --git a/rigify/legacy/rigs/basic/copy.py b/rigify/legacy/rigs/basic/copy.py index 65c5ff31..50a25767 100644 --- a/rigify/legacy/rigs/basic/copy.py +++ b/rigify/legacy/rigs/basic/copy.py @@ -88,8 +88,8 @@ def add_parameters(params): """ Add the parameters of this rig type to the RigifyParameters PropertyGroup """ - params.make_control: bpy.props.BoolProperty(name="Control", default=True, description="Create a control bone for the copy") - params.make_deform: bpy.props.BoolProperty(name="Deform", default=True, description="Create a deform bone for the copy") + params.make_control = bpy.props.BoolProperty(name="Control", default=True, description="Create a control bone for the copy") + params.make_deform = bpy.props.BoolProperty(name="Deform", default=True, description="Create a deform bone for the copy") def parameters_ui(layout, params): diff --git a/rigify/legacy/rigs/basic/copy_chain.py b/rigify/legacy/rigs/basic/copy_chain.py index 25013c0e..4e426284 100644 --- a/rigify/legacy/rigs/basic/copy_chain.py +++ b/rigify/legacy/rigs/basic/copy_chain.py @@ -127,8 +127,8 @@ def add_parameters(params): """ Add the parameters of this rig type to the RigifyParameters PropertyGroup """ - params.make_controls: bpy.props.BoolProperty(name="Controls", default=True, description="Create control bones for the copy") - params.make_deforms: bpy.props.BoolProperty(name="Deform", default=True, description="Create deform bones for the copy") + params.make_controls = bpy.props.BoolProperty(name="Controls", default=True, description="Create control bones for the copy") + params.make_deforms = bpy.props.BoolProperty(name="Deform", default=True, description="Create deform bones for the copy") def parameters_ui(layout, params): diff --git a/rigify/legacy/rigs/pitchipoy/super_copy.py b/rigify/legacy/rigs/pitchipoy/super_copy.py index 5a60ed04..27e88775 100644 --- a/rigify/legacy/rigs/pitchipoy/super_copy.py +++ b/rigify/legacy/rigs/pitchipoy/super_copy.py @@ -91,7 +91,7 @@ def add_parameters(params): """ Add the parameters of this rig type to the RigifyParameters PropertyGroup """ - params.make_control: bpy.props.BoolProperty( + params.make_control = bpy.props.BoolProperty( name = "Control", default = True, description = "Create a control bone for the copy" diff --git a/rigify/legacy/rigs/pitchipoy/super_face.py b/rigify/legacy/rigs/pitchipoy/super_face.py index 919f8439..c999ae9a 100644 --- a/rigify/legacy/rigs/pitchipoy/super_face.py +++ b/rigify/legacy/rigs/pitchipoy/super_face.py @@ -1016,26 +1016,26 @@ def add_parameters(params): """ #Setting up extra layers for the tweak bones - params.primary_layers_extra: bpy.props.BoolProperty( + params.primary_layers_extra = bpy.props.BoolProperty( name = "primary_layers_extra", default = True, description = "" - ) - params.primary_layers: bpy.props.BoolVectorProperty( + ) + params.primary_layers = bpy.props.BoolVectorProperty( size = 32, description = "Layers for the 1st tweak controls to be on", default = tuple( [ i == 1 for i in range(0, 32) ] ) - ) - params.secondary_layers_extra: bpy.props.BoolProperty( + ) + params.secondary_layers_extra = bpy.props.BoolProperty( name = "secondary_layers_extra", default = True, description = "" - ) - params.secondary_layers: bpy.props.BoolVectorProperty( + ) + params.secondary_layers = bpy.props.BoolVectorProperty( size = 32, description = "Layers for the 2nd tweak controls to be on", default = tuple( [ i == 1 for i in range(0, 32) ] ) - ) + ) def parameters_ui(layout, params): -- cgit v1.2.3