forked from bartvdbraak/blender
Cleanup: clang-format
This commit is contained in:
parent
877711e9e4
commit
23185262ab
@ -457,7 +457,8 @@ template<size_t i0, size_t i1, size_t i2, size_t i3>
|
||||
__forceinline const ssei shuffle(const ssei &a, const ssei &b)
|
||||
{
|
||||
# ifdef __KERNEL_NEON__
|
||||
int32x4_t result = shuffle_neon<int32x4_t, i0, i1, i2, i3>(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b));
|
||||
int32x4_t result = shuffle_neon<int32x4_t, i0, i1, i2, i3>(vreinterpretq_s32_m128i(a),
|
||||
vreinterpretq_s32_m128i(b));
|
||||
return vreinterpretq_m128i_s32(result);
|
||||
# else
|
||||
return _mm_castps_si128(
|
||||
|
@ -1120,7 +1120,7 @@ static void ui_apply_but_NUM(bContext *C, uiBut *but, uiHandleButtonData *data)
|
||||
data->cancel = true;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (ui_but_string_set(C, but, data->str)) {
|
||||
data->value = ui_but_value_get(but);
|
||||
}
|
||||
|
@ -4219,7 +4219,7 @@ void ED_screens_header_tools_menu_create(bContext *C, uiLayout *layout, void *UN
|
||||
uiItemS(layout);
|
||||
uiItemO(layout, but_flip_str, ICON_NONE, "SCREEN_OT_region_flip");
|
||||
uiItemS(layout);
|
||||
screen_area_menu_items(area, layout);
|
||||
screen_area_menu_items(area, layout);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,9 @@ void wm_homefile_read(struct bContext *C,
|
||||
void wm_file_read_report(bContext *C, struct Main *bmain);
|
||||
|
||||
void wm_close_file_dialog(bContext *C, struct wmGenericCallback *post_action);
|
||||
bool wm_operator_close_file_dialog_if_needed(bContext *C, wmOperator *op, wmGenericCallbackFn exec_fn);
|
||||
bool wm_operator_close_file_dialog_if_needed(bContext *C,
|
||||
wmOperator *op,
|
||||
wmGenericCallbackFn exec_fn);
|
||||
bool wm_file_or_image_is_modified(const Main *bmain, const wmWindowManager *wm);
|
||||
|
||||
void WM_OT_save_homefile(struct wmOperatorType *ot);
|
||||
|
Loading…
Reference in New Issue
Block a user