Cleanup: format
This commit is contained in:
parent
d799388b02
commit
105c8d59cd
|
@ -149,6 +149,7 @@ def get_effective_preview_denoiser(context):
|
|||
|
||||
return 'OIDN'
|
||||
|
||||
|
||||
def use_mnee(context):
|
||||
# The MNEE kernel doesn't compile on macOS < 13.
|
||||
if use_metal(context):
|
||||
|
@ -158,6 +159,7 @@ def use_mnee(context):
|
|||
return False
|
||||
return True
|
||||
|
||||
|
||||
class CYCLES_RENDER_PT_sampling(CyclesButtonsPanel, Panel):
|
||||
bl_label = "Sampling"
|
||||
|
||||
|
|
|
@ -951,7 +951,8 @@ struct PBVHBatches {
|
|||
|
||||
void create_index_faces(PBVH_GPU_Args *args)
|
||||
{
|
||||
int *mat_index = static_cast<int*>(CustomData_get_layer_named(args->pdata, CD_PROP_INT32, "material_index"));
|
||||
int *mat_index = static_cast<int *>(
|
||||
CustomData_get_layer_named(args->pdata, CD_PROP_INT32, "material_index"));
|
||||
|
||||
if (mat_index && args->totprim) {
|
||||
int poly_index = args->mlooptri[args->prim_indices[0]].poly;
|
||||
|
|
Loading…
Reference in New Issue