Cleanup: clang-format
This commit is contained in:
parent
4e7c65035b
commit
d54757e389
|
@ -42,8 +42,8 @@
|
|||
#include "BKE_modifier.h"
|
||||
#include "BKE_object.h"
|
||||
#include "BKE_paint.h"
|
||||
#include "BKE_pbvh.h"
|
||||
#include "BKE_particle.h"
|
||||
#include "BKE_pbvh.h"
|
||||
#include "BKE_pointcache.h"
|
||||
#include "BKE_scene.h"
|
||||
#include "BKE_screen.h"
|
||||
|
@ -141,10 +141,7 @@ void SCULPT_dyntopo_node_layers_add(SculptSession *ss)
|
|||
ss->bm->pdata.layers[cd_node_layer_index].flag |= CD_FLAG_TEMPORARY;
|
||||
}
|
||||
|
||||
void SCULPT_dynamic_topology_enable_ex(Main *bmain,
|
||||
Depsgraph *depsgraph,
|
||||
Scene *scene,
|
||||
Object *ob)
|
||||
void SCULPT_dynamic_topology_enable_ex(Main *bmain, Depsgraph *depsgraph, Scene *scene, Object *ob)
|
||||
{
|
||||
SculptSession *ss = ob->sculpt;
|
||||
Mesh *me = ob->data;
|
||||
|
@ -281,9 +278,9 @@ void SCULPT_dynamic_topology_disable(bContext *C, SculptUndoNode *unode)
|
|||
}
|
||||
|
||||
void sculpt_dynamic_topology_disable_with_undo(Main *bmain,
|
||||
Depsgraph *depsgraph,
|
||||
Scene *scene,
|
||||
Object *ob)
|
||||
Depsgraph *depsgraph,
|
||||
Scene *scene,
|
||||
Object *ob)
|
||||
{
|
||||
SculptSession *ss = ob->sculpt;
|
||||
if (ss->bm) {
|
||||
|
@ -331,7 +328,6 @@ static int sculpt_dynamic_topology_toggle_exec(bContext *C, wmOperator *UNUSED(o
|
|||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
|
||||
static int dyntopo_warning_popup(bContext *C, wmOperatorType *ot, enum eDynTopoWarnFlag flag)
|
||||
{
|
||||
uiPopupMenu *pup = UI_popup_menu_begin(C, IFACE_("Warning!"), ICON_ERROR);
|
||||
|
|
|
@ -451,8 +451,8 @@ typedef struct MakeHistogramViewData {
|
|||
} MakeHistogramViewData;
|
||||
|
||||
static void make_histogram_view_from_ibuf_byte_fn(void *__restrict userdata,
|
||||
const int y,
|
||||
const TaskParallelTLS *__restrict tls)
|
||||
const int y,
|
||||
const TaskParallelTLS *__restrict tls)
|
||||
{
|
||||
MakeHistogramViewData *data = userdata;
|
||||
const ImBuf *ibuf = data->ibuf;
|
||||
|
@ -552,8 +552,8 @@ BLI_INLINE int get_bin_float(float f)
|
|||
}
|
||||
|
||||
static void make_histogram_view_from_ibuf_float_fn(void *__restrict userdata,
|
||||
const int y,
|
||||
const TaskParallelTLS *__restrict tls)
|
||||
const int y,
|
||||
const TaskParallelTLS *__restrict tls)
|
||||
{
|
||||
const MakeHistogramViewData *data = userdata;
|
||||
const ImBuf *ibuf = data->ibuf;
|
||||
|
|
Loading…
Reference in New Issue