Cleanup: make format (clang-format)
This commit is contained in:
parent
2bd85d9cc6
commit
d0c63a2abe
|
@ -394,9 +394,10 @@ static bool eevee_volume_object_grids_init(Object *ob, ListBase *gpu_grids, DRWS
|
|||
* - Grid exists and texture was loaded -> use texture.
|
||||
* - Grid exists but has zero size or failed to load -> use zero.
|
||||
* - Grid does not exist -> use default value. */
|
||||
GPUTexture *grid_tex = (drw_grid) ? drw_grid->texture :
|
||||
(volume_grid) ? e_data.dummy_zero :
|
||||
eevee_volume_default_texture(gpu_grid->default_value);
|
||||
GPUTexture *grid_tex = (drw_grid) ? drw_grid->texture :
|
||||
(volume_grid) ?
|
||||
e_data.dummy_zero :
|
||||
eevee_volume_default_texture(gpu_grid->default_value);
|
||||
|
||||
DRW_shgroup_uniform_texture(grp, gpu_grid->sampler_name, grid_tex);
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
|
@ -405,7 +405,7 @@ static char *track_markers_desc(bContext *UNUSED(C), wmOperatorType *UNUSED(op),
|
|||
{
|
||||
const bool backwards = RNA_boolean_get(ptr, "backwards");
|
||||
const bool sequence = RNA_boolean_get(ptr, "sequence");
|
||||
|
||||
|
||||
if (backwards && sequence) {
|
||||
return BLI_strdup(TIP_("Track the selected markers backward for the entire clip"));
|
||||
}
|
||||
|
|
|
@ -1522,7 +1522,8 @@ static void *sequencer_OCIO_transform_ibuf(const bContext *C,
|
|||
ImBuf *ibuf,
|
||||
bool *r_glsl_used,
|
||||
eGPUTextureFormat *r_format,
|
||||
eGPUDataFormat *r_data, void **r_buffer_cache_handle)
|
||||
eGPUDataFormat *r_data,
|
||||
void **r_buffer_cache_handle)
|
||||
{
|
||||
void *display_buffer;
|
||||
bool force_fallback = false;
|
||||
|
@ -1682,7 +1683,8 @@ static void sequencer_draw_display_buffer(const bContext *C,
|
|||
data = GPU_DATA_UBYTE;
|
||||
}
|
||||
else {
|
||||
display_buffer = sequencer_OCIO_transform_ibuf(C, ibuf, &glsl_used, &format, &data, &buffer_cache_handle);
|
||||
display_buffer = sequencer_OCIO_transform_ibuf(
|
||||
C, ibuf, &glsl_used, &format, &data, &buffer_cache_handle);
|
||||
}
|
||||
|
||||
if (draw_backdrop) {
|
||||
|
|
|
@ -105,7 +105,7 @@ bNodeTree *MaterialNode::prepare_material_nodetree()
|
|||
return ntree;
|
||||
}
|
||||
|
||||
void MaterialNode::update_material_nodetree()
|
||||
void MaterialNode::update_material_nodetree()
|
||||
{
|
||||
ntreeUpdateTree(CTX_data_main(mContext), ntree);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue