diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e62cb4e..9599338 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,14 +4,10 @@ BlenRig 5 What's new V 1.001 -======= - -Biped Armature updated to 1.001, fix IK torso bug V 1.002 -======= - - General changes: - New Layer Scheme option in Layer Settings tab (Compact and Expanded Scheme) @@ -40,8 +36,6 @@ V 1.002 - Port to Blender 2.80 -======= -V 1.03 (Sybren's branch) -======================== +V 1.03 (Sybren's branch) - Fixed compatibility with Blender 2.80. diff --git a/README.rst b/README.rst index f5be15e..f46465c 100644 --- a/README.rst +++ b/README.rst @@ -21,8 +21,6 @@ _Basic body mesh for creating low resolution proxy versions of the characters. Usage -===== - You will find the rig in the **Object Add Panel**, under the **Armature Menu**. @@ -63,14 +61,10 @@ WHAT'S NEW V 1.01 -======= - - Biped Armature updated to 1.001, fix IK torso bug V 1.002 -======= - - General changes: - New Layer Scheme option in Layer Settings tab (Compact and Expanded Scheme) @@ -97,16 +91,11 @@ V 1.002 - Fix for error when adding BlenRig to the scene while using local view or local layers - - Scropt spaces cleanup + - Script spaces cleanup V 1.004 -======= - - Port to Blender 2.80 - Note that for the "Reset Deformers" operator to have an effect on the lattices, you must have the lattices collection turned on in the viewport. (This will be fixed later) -======= V 1.03 (Sybren's branch) -======================== - - Fixed compatibility with Blender 2.80. diff --git a/blenrig_biped/ops_biped_layers_scheme.py b/blenrig_biped/ops_biped_layers_scheme.py index 5ba28f4..b5fd2d7 100644 --- a/blenrig_biped/ops_biped_layers_scheme.py +++ b/blenrig_biped/ops_biped_layers_scheme.py @@ -2253,12 +2253,11 @@ class Operator_BlenRig_Layers_Scheme_Compact(bpy.types.Operator): self.set_layers(context, 'accessory', [17, 25]) def set_data_props(self, context): - scene = bpy.context.view_layer bpy.context.active_object.data['bone_auto_hide'] = 1.0 bpy.context.active_object.data['custom_layers'] = 0.0 bpy.context.active_object.data['layers_count'] = 10 bpy.context.active_object.data['layer_list'] = 'BODY, BODY 2, FINGERS - TOES, FACIAL 1, FACIAL 2, FACIAL 3, TOON 1, TOON 2, SCALE, EXTRAS, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, OPTIONALS, PROTECTED, MECH, DEFORMATION, ACTIONS, BONE-ROLLS, SNAPPING, REPROPORTION' - scene.update() + bpy.context.view_layer.update() def update_scene(self, context): current = bpy.context.scene.frame_current @@ -4523,12 +4522,11 @@ class Operator_BlenRig_Layers_Scheme_Expanded(bpy.types.Operator): self.set_layers(context, 'accessory', [11, 25]) def set_data_props(self, context): - scene = bpy.context.view_layer bpy.context.active_object.data['bone_auto_hide'] = 0.0 bpy.context.active_object.data['custom_layers'] = 1.0 bpy.context.active_object.data['layers_count'] = 24 bpy.context.active_object.data['layer_list'] = 'FACIAL 1, FACIAL 2, FACIAL 3, ARM_R FK, NECK FK, ARM_L FK, ARM_R IK, NECK IK, ARM_L IK, FINGERS, TORSO FK, FINGERS IK, LEG_R FK, TORSO IK, LEG_L FK, LEG_R IK, TORSO INV, LEG_L IK, TOES, EXTRAS, TOES FK, TOON 1, TOON 2, SCALE, OPTIONALS, PROTECTED, MECH, DEFORMATION, ACTIONS, BONE-ROLLS, SNAPPING, REPROPORTION' - scene.update() + bpy.context.view_layer.update() def update_scene(self, context): current = bpy.context.scene.frame_current diff --git a/ui_panel_controls.py b/ui_panel_controls.py index 6701053..7a2a6ee 100644 --- a/ui_panel_controls.py +++ b/ui_panel_controls.py @@ -6,13 +6,9 @@ all_bones = hand_l = hand_r = arm_l = arm_r = leg_l = leg_r = foot_l = foot_r = class BLENRIG_PT_BlenRig_5_Interface(bpy.types.Panel): bl_space_type = 'VIEW_3D' bl_region_type = 'UI' - bl_category = "Tool" bl_label = 'BlenRig 5 Controls' bl_category = "BlenRig 5" - - - @classmethod def poll(cls, context): if not bpy.context.active_object: