Commit: 31a640027982614758ad1af5e77e766f1e4e6e9f Author: Campbell Barton Date: Thu Feb 2 13:33:08 2023 +1100 Branches: master https://developer.blender.org/rB31a640027982614758ad1af5e77e766f1e4e6e9f
Fix error referencing transition context which doesn't exist Regression in [0] added reference to constraint which doesn't exist. [0]: db87e2a638f97fa20e8b9bf054548b263c005c35 =================================================================== M release/scripts/startup/bl_ui/properties_constraint.py =================================================================== diff --git a/release/scripts/startup/bl_ui/properties_constraint.py b/release/scripts/startup/bl_ui/properties_constraint.py index 64dc64cd525..38e5f5719d4 100644 --- a/release/scripts/startup/bl_ui/properties_constraint.py +++ b/release/scripts/startup/bl_ui/properties_constraint.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-or-later from bpy.types import Panel -from bpy.app.translations import contexts as i18n_contexts class ObjectConstraintPanel: @@ -398,7 +397,7 @@ class ConstraintButtonsPanel: sub.prop(con, "invert_z", text="Z", toggle=True) row.label(icon='BLANK1') - layout.prop(con, "mix_mode", text="Mix", text_ctxt=i18n_contexts.constraint) + layout.prop(con, "mix_mode", text="Mix") self.space_template(layout, con) @@ -489,7 +488,7 @@ class ConstraintButtonsPanel: self.target_template(layout, con) layout.prop(con, "remove_target_shear") - layout.prop(con, "mix_mode", text="Mix", text_ctxt=i18n_contexts.constraint) + layout.prop(con, "mix_mode", text="Mix") self.space_template(layout, con) @@ -514,7 +513,7 @@ class ConstraintButtonsPanel: subsub.prop(con, "eval_time", text="") row.prop_decorator(con, "eval_time") - layout.prop(con, "mix_mode", text="Mix", text_ctxt=i18n_contexts.constraint) + layout.prop(con, "mix_mode", text="Mix") self.draw_influence(layout, con) @@ -1025,7 +1024,7 @@ class ConstraintButtonsSubPanel: col.prop(con, "to_min_z" + ext, text="Min") col.prop(con, "to_max_z" + ext, text="Max") - layout.prop(con, "mix_mode" + ext, text="Mix", text_ctxt=i18n_contexts.constraint) + layout.prop(con, "mix_mode" + ext, text="Mix") def draw_armature_bones(self, context): layout = self.layout _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs