Merge branch 'blender-v3.2-release'
This commit is contained in:
commit
b508999d8d
|
@ -341,7 +341,8 @@ def dump_rna_messages(msgs, reports, settings, verbose=False):
|
|||
msgsrc = "bpy.types." + bl_rna.identifier
|
||||
msgctxt = bl_rna.translation_context or default_context
|
||||
|
||||
if bl_rna.name and (bl_rna.name != bl_rna.identifier or msgctxt != default_context):
|
||||
if bl_rna.name and (bl_rna.name != bl_rna.identifier or
|
||||
(msgctxt != default_context and not hasattr(bl_rna, 'bl_label'))):
|
||||
process_msg(msgs, msgctxt, bl_rna.name, msgsrc, reports, check_ctxt_rna, settings)
|
||||
|
||||
if bl_rna.description:
|
||||
|
|
|
@ -1237,24 +1237,23 @@ class VIEW3D_MT_view_viewpoint(Menu):
|
|||
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
i18n_text_ctxt = bpy.app.translations.contexts_C_to_py['BLT_I18NCONTEXT_EDITOR_VIEW3D']
|
||||
|
||||
layout.operator("view3d.view_camera", text="Camera", text_ctxt=i18n_text_ctxt)
|
||||
layout.operator("view3d.view_camera", text="Camera", text_ctxt=i18n_contexts.editor_view3d)
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("view3d.view_axis", text="Top", text_ctxt=i18n_text_ctxt).type = 'TOP'
|
||||
layout.operator("view3d.view_axis", text="Bottom", text_ctxt=i18n_text_ctxt).type = 'BOTTOM'
|
||||
layout.operator("view3d.view_axis", text="Top", text_ctxt=i18n_contexts.editor_view3d).type = 'TOP'
|
||||
layout.operator("view3d.view_axis", text="Bottom", text_ctxt=i18n_contexts.editor_view3d).type = 'BOTTOM'
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("view3d.view_axis", text="Front", text_ctxt=i18n_text_ctxt).type = 'FRONT'
|
||||
layout.operator("view3d.view_axis", text="Back", text_ctxt=i18n_text_ctxt).type = 'BACK'
|
||||
layout.operator("view3d.view_axis", text="Front", text_ctxt=i18n_contexts.editor_view3d).type = 'FRONT'
|
||||
layout.operator("view3d.view_axis", text="Back", text_ctxt=i18n_contexts.editor_view3d).type = 'BACK'
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("view3d.view_axis", text="Right", text_ctxt=i18n_text_ctxt).type = 'RIGHT'
|
||||
layout.operator("view3d.view_axis", text="Left", text_ctxt=i18n_text_ctxt).type = 'LEFT'
|
||||
layout.operator("view3d.view_axis", text="Right", text_ctxt=i18n_contexts.editor_view3d).type = 'RIGHT'
|
||||
layout.operator("view3d.view_axis", text="Left", text_ctxt=i18n_contexts.editor_view3d).type = 'LEFT'
|
||||
|
||||
|
||||
class VIEW3D_MT_view_navigation(Menu):
|
||||
|
@ -1321,33 +1320,32 @@ class VIEW3D_MT_view_align_selected(Menu):
|
|||
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
i18n_text_ctxt = bpy.app.translations.contexts_C_to_py['BLT_I18NCONTEXT_EDITOR_VIEW3D']
|
||||
|
||||
props = layout.operator("view3d.view_axis", text="Top", text_ctxt=i18n_text_ctxt)
|
||||
props = layout.operator("view3d.view_axis", text="Top", text_ctxt=i18n_contexts.editor_view3d)
|
||||
props.align_active = True
|
||||
props.type = 'TOP'
|
||||
|
||||
props = layout.operator("view3d.view_axis", text="Bottom", text_ctxt=i18n_text_ctxt)
|
||||
props = layout.operator("view3d.view_axis", text="Bottom", text_ctxt=i18n_contexts.editor_view3d)
|
||||
props.align_active = True
|
||||
props.type = 'BOTTOM'
|
||||
|
||||
layout.separator()
|
||||
|
||||
props = layout.operator("view3d.view_axis", text="Front", text_ctxt=i18n_text_ctxt)
|
||||
props = layout.operator("view3d.view_axis", text="Front", text_ctxt=i18n_contexts.editor_view3d)
|
||||
props.align_active = True
|
||||
props.type = 'FRONT'
|
||||
|
||||
props = layout.operator("view3d.view_axis", text="Back", text_ctxt=i18n_text_ctxt)
|
||||
props = layout.operator("view3d.view_axis", text="Back", text_ctxt=i18n_contexts.editor_view3d)
|
||||
props.align_active = True
|
||||
props.type = 'BACK'
|
||||
|
||||
layout.separator()
|
||||
|
||||
props = layout.operator("view3d.view_axis", text="Right", text_ctxt=i18n_text_ctxt)
|
||||
props = layout.operator("view3d.view_axis", text="Right", text_ctxt=i18n_contexts.editor_view3d)
|
||||
props.align_active = True
|
||||
props.type = 'RIGHT'
|
||||
|
||||
props = layout.operator("view3d.view_axis", text="Left", text_ctxt=i18n_text_ctxt)
|
||||
props = layout.operator("view3d.view_axis", text="Left", text_ctxt=i18n_contexts.editor_view3d)
|
||||
props.align_active = True
|
||||
props.type = 'LEFT'
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@ static void sequencer_generic_props__internal(wmOperatorType *ot, int flag)
|
|||
ot->srna,
|
||||
"overlap_shuffle_override",
|
||||
false,
|
||||
"Override Overlap Shuffle Behaviour",
|
||||
"Override Overlap Shuffle Behavior",
|
||||
"Use the overlap_mode tool settings to determine how to shuffle overlapping strips");
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
|
||||
|
|
|
@ -1976,7 +1976,7 @@ static void rna_def_ID(BlenderRNA *brna)
|
|||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Extra User",
|
||||
"Indicates wether an extra user is set or not (mainly for internal/debug usages)");
|
||||
"Indicates whether an extra user is set or not (mainly for internal/debug usages)");
|
||||
RNA_def_property_boolean_funcs(prop, NULL, "rna_ID_extra_user_set");
|
||||
|
||||
prop = RNA_def_property(srna, "is_embedded_data", PROP_BOOLEAN, PROP_NONE);
|
||||
|
|
Loading…
Reference in New Issue