Compare commits
2 Commits
tmp_lib_up
...
temp-anim-
Author | SHA1 | Date | |
---|---|---|---|
![]() |
426c0865d3 | ||
![]() |
87cc77d375 |
@@ -318,6 +318,7 @@ class DOPESHEET_MT_view(Menu):
|
||||
st = context.space_data
|
||||
|
||||
layout.prop(st, "show_region_ui")
|
||||
layout.prop(st, "show_region_hud")
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
@@ -88,6 +88,7 @@ class NLA_MT_view(Menu):
|
||||
st = context.space_data
|
||||
|
||||
layout.prop(st, "show_region_ui")
|
||||
layout.prop(st, "show_region_hud")
|
||||
layout.separator()
|
||||
|
||||
layout.prop(st, "use_realtime_update")
|
||||
|
@@ -118,6 +118,10 @@ class TIME_MT_view(Menu):
|
||||
scene = context.scene
|
||||
st = context.space_data
|
||||
|
||||
layout.prop(st, "show_region_hud")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.prop(st, "show_seconds")
|
||||
layout.prop(st, "show_locked_time")
|
||||
|
||||
|
@@ -1045,7 +1045,7 @@ static void MARKER_OT_move(wmOperatorType *ot)
|
||||
RNA_def_int(ot->srna, "frames", 0, INT_MIN, INT_MAX, "Frames", "", INT_MIN, INT_MAX);
|
||||
PropertyRNA *prop = RNA_def_boolean(
|
||||
ot->srna, "tweak", 0, "Tweak", "Operator has been activated using a click-drag event");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE | PROP_HIDDEN);
|
||||
}
|
||||
|
||||
/** \} */
|
||||
@@ -1313,7 +1313,7 @@ static void MARKER_OT_select(wmOperatorType *ot)
|
||||
ot->modal = WM_generic_select_modal;
|
||||
|
||||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
WM_operator_properties_generic_select(ot);
|
||||
prop = RNA_def_boolean(ot->srna, "extend", 0, "Extend", "Extend the selection");
|
||||
@@ -1413,7 +1413,7 @@ static void MARKER_OT_select_box(wmOperatorType *ot)
|
||||
ot->poll = ed_markers_poll_markers_exist;
|
||||
|
||||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
/* properties */
|
||||
WM_operator_properties_gesture_box(ot);
|
||||
@@ -1537,8 +1537,8 @@ static void MARKER_OT_select_leftright(wmOperatorType *ot)
|
||||
|
||||
/* rna storage */
|
||||
RNA_def_enum(
|
||||
ot->srna, "mode", prop_markers_select_leftright_modes, MARKERS_LRSEL_LEFT, "mode", "Mode");
|
||||
RNA_def_boolean(ot->srna, "extend", false, "extend", "Extend");
|
||||
ot->srna, "mode", prop_markers_select_leftright_modes, MARKERS_LRSEL_LEFT, "Mode", "");
|
||||
RNA_def_boolean(ot->srna, "extend", false, "Extend Select", "");
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
@@ -585,7 +585,7 @@ void ACTION_OT_select_box(wmOperatorType *ot)
|
||||
ot->poll = ED_operator_action_active;
|
||||
|
||||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
/* rna */
|
||||
ot->prop = RNA_def_boolean(ot->srna, "axis_range", 0, "Axis Range", "");
|
||||
@@ -1129,6 +1129,7 @@ void ACTION_OT_select_column(wmOperatorType *ot)
|
||||
|
||||
/* props */
|
||||
ot->prop = RNA_def_enum(ot->srna, "mode", prop_column_select_types, 0, "Mode", "");
|
||||
RNA_def_property_flag(ot->prop, PROP_HIDDEN);
|
||||
}
|
||||
|
||||
/* ******************** Select Linked Operator *********************** */
|
||||
|
@@ -905,5 +905,8 @@ void ED_spacetype_action(void)
|
||||
|
||||
action_buttons_register(art);
|
||||
|
||||
art = ED_area_type_hud(st->spaceid);
|
||||
BLI_addhead(&st->regiontypes, art);
|
||||
|
||||
BKE_spacetype_register(st);
|
||||
}
|
||||
|
@@ -893,7 +893,7 @@ void GRAPH_OT_select_box(wmOperatorType *ot)
|
||||
ot->poll = graphop_visible_keyframes_poll;
|
||||
|
||||
/* Flags. */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
/* Properties. */
|
||||
ot->prop = RNA_def_boolean(ot->srna, "axis_range", 0, "Axis Range", "");
|
||||
@@ -1295,6 +1295,7 @@ void GRAPH_OT_select_column(wmOperatorType *ot)
|
||||
|
||||
/* props */
|
||||
ot->prop = RNA_def_enum(ot->srna, "mode", prop_column_select_types, 0, "Mode", "");
|
||||
RNA_def_property_flag(ot->prop, PROP_HIDDEN);
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
@@ -478,7 +478,7 @@ void NLA_OT_action_pushdown(wmOperatorType *ot)
|
||||
"Index of NLA action channel to perform pushdown operation on",
|
||||
0,
|
||||
INT_MAX);
|
||||
RNA_def_property_flag(ot->prop, PROP_SKIP_SAVE);
|
||||
RNA_def_property_flag(ot->prop, PROP_SKIP_SAVE | PROP_HIDDEN);
|
||||
}
|
||||
|
||||
/* ******************** Action Unlink ******************************** */
|
||||
|
@@ -401,7 +401,7 @@ void NLA_OT_select_box(wmOperatorType *ot)
|
||||
ot->poll = nlaop_poll_tweakmode_off;
|
||||
|
||||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
/* properties */
|
||||
RNA_def_boolean(ot->srna, "axis_range", 0, "Axis Range", "");
|
||||
|
@@ -628,5 +628,8 @@ void ED_spacetype_nla(void)
|
||||
|
||||
nla_buttons_register(art);
|
||||
|
||||
art = ED_area_type_hud(st->spaceid);
|
||||
BLI_addhead(&st->regiontypes, art);
|
||||
|
||||
BKE_spacetype_register(st);
|
||||
}
|
||||
|
@@ -5982,7 +5982,7 @@ static void rna_def_space_dopesheet(BlenderRNA *brna)
|
||||
RNA_def_struct_sdna(srna, "SpaceAction");
|
||||
RNA_def_struct_ui_text(srna, "Space Dope Sheet Editor", "Dope Sheet space data");
|
||||
|
||||
rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_UI));
|
||||
rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_UI) | (1 << RGN_TYPE_HUD));
|
||||
|
||||
/* data */
|
||||
prop = RNA_def_property(srna, "action", PROP_POINTER, PROP_NONE);
|
||||
@@ -6295,7 +6295,7 @@ static void rna_def_space_nla(BlenderRNA *brna)
|
||||
RNA_def_struct_sdna(srna, "SpaceNla");
|
||||
RNA_def_struct_ui_text(srna, "Space Nla Editor", "NLA editor space data");
|
||||
|
||||
rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_UI));
|
||||
rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_UI) | (1 << RGN_TYPE_HUD));
|
||||
|
||||
/* display */
|
||||
prop = RNA_def_property(srna, "show_seconds", PROP_BOOLEAN, PROP_NONE);
|
||||
|
Reference in New Issue
Block a user