Rigify: revert erroneous edits from Blender 2.8 update commit.
Fix remaining mistakes fromfe90ef2b4
not corrected by9940479d2
.
This commit is contained in:
parent
b307afaa61
commit
0a412d988c
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue