forked from bartvdbraak/blender
Usual ui messages fixes/tweaks.
This commit is contained in:
parent
f7fc55867a
commit
01ce8d80d0
@ -33,7 +33,7 @@ from bl_ui.properties_physics_common import (
|
|||||||
|
|
||||||
|
|
||||||
class SCENE_MT_units_length_presets(Menu):
|
class SCENE_MT_units_length_presets(Menu):
|
||||||
"""Sets the unit of measure for properties that use length values"""
|
"""Unit of measure for properties that use length values"""
|
||||||
bl_label = "Unit Presets"
|
bl_label = "Unit Presets"
|
||||||
preset_subdir = "units_length"
|
preset_subdir = "units_length"
|
||||||
preset_operator = "script.execute_preset"
|
preset_operator = "script.execute_preset"
|
||||||
|
@ -497,7 +497,7 @@ void ARMATURE_OT_roll_clear(wmOperatorType *ot)
|
|||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name = "Clear Roll";
|
ot->name = "Clear Roll";
|
||||||
ot->idname = "ARMATURE_OT_roll_clear";
|
ot->idname = "ARMATURE_OT_roll_clear";
|
||||||
ot->description = "Clear roll for select bones";
|
ot->description = "Clear roll for selected bones";
|
||||||
|
|
||||||
/* api callbacks */
|
/* api callbacks */
|
||||||
ot->exec = armature_roll_clear_exec;
|
ot->exec = armature_roll_clear_exec;
|
||||||
|
@ -857,7 +857,7 @@ static void graph_panel_drivers(const bContext *C, Panel *pa)
|
|||||||
|
|
||||||
if (dvar->flag & DVAR_FLAG_INVALID_NAME) {
|
if (dvar->flag & DVAR_FLAG_INVALID_NAME) {
|
||||||
but = uiDefIconBut(block, UI_BTYPE_BUT, B_IPO_DEPCHANGE, ICON_ERROR, 290, 0, UI_UNIT_X, UI_UNIT_Y,
|
but = uiDefIconBut(block, UI_BTYPE_BUT, B_IPO_DEPCHANGE, ICON_ERROR, 290, 0, UI_UNIT_X, UI_UNIT_Y,
|
||||||
NULL, 0.0, 0.0, 0.0, 0.0, IFACE_("Invalid variable name. Click here for details"));
|
NULL, 0.0, 0.0, 0.0, 0.0, IFACE_("Invalid variable name, click here for details"));
|
||||||
UI_but_func_set(but, driver_dvar_invalid_name_query_cb, dvar, NULL); // XXX: reports?
|
UI_but_func_set(but, driver_dvar_invalid_name_query_cb, dvar, NULL); // XXX: reports?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user