Cleanup: Make format
Pull Request: https://projects.blender.org/blender/blender/pulls/116643
This commit is contained in:
parent
355654487e
commit
d0c53b58bc
|
@ -336,7 +336,7 @@ def bake_action_iter(
|
|||
lookup_fcurves = {(fcurve.data_path, fcurve.array_index): fcurve for fcurve in action.fcurves}
|
||||
if bake_options.do_pose:
|
||||
for f, armature_custom_properties in armature_info:
|
||||
bake_custom_properties(obj, custom_props = armature_custom_properties, frame = f)
|
||||
bake_custom_properties(obj, custom_props=armature_custom_properties, frame=f)
|
||||
|
||||
for name, pbone in obj.pose.bones.items():
|
||||
if bake_options.only_selected and not pbone.bone.select:
|
||||
|
@ -420,7 +420,7 @@ def bake_action_iter(
|
|||
)
|
||||
# Custom Properties
|
||||
if bake_options.do_custom_props:
|
||||
bake_custom_properties(pbone, custom_props = custom_props[name], frame = f, group_name = name)
|
||||
bake_custom_properties(pbone, custom_props=custom_props[name], frame=f, group_name=name)
|
||||
|
||||
if is_new_action:
|
||||
keyframes.insert_keyframes_into_new_action(total_new_keys, action, name)
|
||||
|
@ -486,7 +486,7 @@ def bake_action_iter(
|
|||
keyframes.extend_co_values(path_scale, 3, f, obj.scale)
|
||||
|
||||
if bake_options.do_custom_props:
|
||||
bake_custom_properties(obj, custom_props = custom_props, frame = f, group_name = name)
|
||||
bake_custom_properties(obj, custom_props=custom_props, frame=f, group_name=name)
|
||||
|
||||
if is_new_action:
|
||||
keyframes.insert_keyframes_into_new_action(total_new_keys, action, name)
|
||||
|
|
|
@ -172,12 +172,12 @@ static Luminance calc_area_luminance(const MemoryBuffer *input, const rcti &area
|
|||
return lum;
|
||||
}
|
||||
|
||||
void TonemapOperation::update_memory_buffer_started(MemoryBuffer * output,
|
||||
void TonemapOperation::update_memory_buffer_started(MemoryBuffer *output,
|
||||
const rcti & /*area*/,
|
||||
Span<MemoryBuffer *> inputs)
|
||||
{
|
||||
MemoryBuffer *input_img = inputs[0];
|
||||
if(input_img->is_a_single_elem()) {
|
||||
if (input_img->is_a_single_elem()) {
|
||||
copy_v4_v4(output->get_elem(0, 0), input_img->get_elem(0, 0));
|
||||
return;
|
||||
}
|
||||
|
@ -218,7 +218,7 @@ void TonemapOperation::update_memory_buffer_partial(MemoryBuffer *output,
|
|||
{
|
||||
MemoryBuffer *input_img = inputs[0];
|
||||
|
||||
if(input_img->is_a_single_elem()) {
|
||||
if (input_img->is_a_single_elem()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -247,7 +247,7 @@ void PhotoreceptorTonemapOperation::update_memory_buffer_partial(MemoryBuffer *o
|
|||
Span<MemoryBuffer *> inputs)
|
||||
{
|
||||
MemoryBuffer *input_img = inputs[0];
|
||||
if(input_img->is_a_single_elem()) {
|
||||
if (input_img->is_a_single_elem()) {
|
||||
copy_v4_v4(output->get_elem(0, 0), input_img->get_elem(0, 0));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue