UI: Do not include the text stating an enum item is the default
This adds maintence overhead and it is not that useful when we have reset to default. If this is something that we want it should be added dynamically. Reviewed By: HooglyBoogly, Severin, #user_interface Differential Revision: https://developer.blender.org/D14151
This commit is contained in:
parent
991781c8ea
commit
1f79132287
Notes:
blender-bot
2023-02-14 07:39:46 +01:00
Referenced by issue #95143, Two Different M1 Mac minis BOTH Crash Whenever using Cycles In 3.1 Alpha Referenced by issue #94711, Blender crashes with on Apple M1 when using Cycles with GPU Compute since rB8393ccd07634 Referenced by issue #94142, Cycles Metal crash with simultaneous viewport and final render Referenced by issue #94022, Both options GPU/CPU checked under preferences cause viewport render crash. (ARM/Metal)
|
@ -448,8 +448,7 @@ class TOPBAR_MT_file_import(Menu):
|
|||
|
||||
def draw(self, _context):
|
||||
if bpy.app.build_options.collada:
|
||||
self.layout.operator("wm.collada_import",
|
||||
text="Collada (Default) (.dae)")
|
||||
self.layout.operator("wm.collada_import", text="Collada (.dae)")
|
||||
if bpy.app.build_options.alembic:
|
||||
self.layout.operator("wm.alembic_import", text="Alembic (.abc)")
|
||||
if bpy.app.build_options.usd:
|
||||
|
@ -467,8 +466,7 @@ class TOPBAR_MT_file_export(Menu):
|
|||
def draw(self, _context):
|
||||
self.layout.operator("wm.obj_export", text="Wavefront OBJ (.obj)")
|
||||
if bpy.app.build_options.collada:
|
||||
self.layout.operator("wm.collada_export",
|
||||
text="Collada (Default) (.dae)")
|
||||
self.layout.operator("wm.collada_export", text="Collada (.dae)")
|
||||
if bpy.app.build_options.alembic:
|
||||
self.layout.operator("wm.alembic_export", text="Alembic (.abc)")
|
||||
if bpy.app.build_options.usd:
|
||||
|
|
|
@ -38,12 +38,12 @@ static const EnumPropertyItem io_obj_transform_axis_forward[] = {
|
|||
{OBJ_AXIS_Z_FORWARD, "Z_FORWARD", 0, "Z", "Positive Z axis"},
|
||||
{OBJ_AXIS_NEGATIVE_X_FORWARD, "NEGATIVE_X_FORWARD", 0, "-X", "Negative X axis"},
|
||||
{OBJ_AXIS_NEGATIVE_Y_FORWARD, "NEGATIVE_Y_FORWARD", 0, "-Y", "Negative Y axis"},
|
||||
{OBJ_AXIS_NEGATIVE_Z_FORWARD, "NEGATIVE_Z_FORWARD", 0, "-Z (Default)", "Negative Z axis"},
|
||||
{OBJ_AXIS_NEGATIVE_Z_FORWARD, "NEGATIVE_Z_FORWARD", 0, "-Z", "Negative Z axis"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static const EnumPropertyItem io_obj_transform_axis_up[] = {
|
||||
{OBJ_AXIS_X_UP, "X_UP", 0, "X", "Positive X axis"},
|
||||
{OBJ_AXIS_Y_UP, "Y_UP", 0, "Y (Default)", "Positive Y axis"},
|
||||
{OBJ_AXIS_Y_UP, "Y_UP", 0, "Y", "Positive Y axis"},
|
||||
{OBJ_AXIS_Z_UP, "Z_UP", 0, "Z", "Positive Z axis"},
|
||||
{OBJ_AXIS_NEGATIVE_X_UP, "NEGATIVE_X_UP", 0, "-X", "Negative X axis"},
|
||||
{OBJ_AXIS_NEGATIVE_Y_UP, "NEGATIVE_Y_UP", 0, "-Y", "Negative Y axis"},
|
||||
|
@ -55,7 +55,7 @@ static const EnumPropertyItem io_obj_export_evaluation_mode[] = {
|
|||
{DAG_EVAL_VIEWPORT,
|
||||
"DAG_EVAL_VIEWPORT",
|
||||
0,
|
||||
"Viewport (Default)",
|
||||
"Viewport",
|
||||
"Export objects as they appear in the viewport"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
|
|
|
@ -2969,7 +2969,7 @@ static void rna_def_constraint_spline_ik(BlenderRNA *brna)
|
|||
PropertyRNA *prop;
|
||||
|
||||
static const EnumPropertyItem splineik_xz_scale_mode[] = {
|
||||
{CONSTRAINT_SPLINEIK_XZS_NONE, "NONE", 0, "None", "Don't scale the X and Z axes (Default)"},
|
||||
{CONSTRAINT_SPLINEIK_XZS_NONE, "NONE", 0, "None", "Don't scale the X and Z axes"},
|
||||
{CONSTRAINT_SPLINEIK_XZS_ORIGINAL,
|
||||
"BONE_ORIGINAL",
|
||||
0,
|
||||
|
|
|
@ -1880,7 +1880,7 @@ static void rna_def_drivervar(BlenderRNA *brna)
|
|||
"SINGLE_PROP",
|
||||
ICON_RNA,
|
||||
"Single Property",
|
||||
"Use the value from some RNA property (Default)"},
|
||||
"Use the value from some RNA property"},
|
||||
{DVAR_TYPE_TRANSFORM_CHAN,
|
||||
"TRANSFORMS",
|
||||
ICON_DRIVER_TRANSFORM,
|
||||
|
|
Loading…
Reference in New Issue