[Bf-extensions-cvs] [0a412d98] blender2.8: Rigify: revert erroneous edits from Blender 2.8 update commit.
Alexander Gavrilov
noreply at git.blender.org
Wed Nov 14 17:02:12 CET 2018
Commit: 0a412d988c74510b2a455b86bdb64f366ae9051c
Author: Alexander Gavrilov
Date: Wed Nov 14 18:38:10 2018 +0300
Branches: blender2.8
https://developer.blender.org/rBA0a412d988c74510b2a455b86bdb64f366ae9051c
Rigify: revert erroneous edits from Blender 2.8 update commit.
Fix remaining mistakes from fe90ef2b4 not corrected by 9940479d2.
===================================================================
M rigify/legacy/rigs/basic/copy.py
M rigify/legacy/rigs/basic/copy_chain.py
M rigify/legacy/rigs/pitchipoy/super_copy.py
M rigify/legacy/rigs/pitchipoy/super_face.py
===================================================================
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):
More information about the Bf-extensions-cvs
mailing list