Cleanup: format
This commit is contained in:
parent
f0f97e18c1
commit
2a41cd46ba
|
@ -76,7 +76,8 @@ ccl_device bool film_adaptive_sampling_convergence_check(KernelGlobals kg,
|
|||
float error_normalize;
|
||||
if (intensity < 1.0f) {
|
||||
error_normalize = sqrtf(intensity);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
error_normalize = intensity;
|
||||
}
|
||||
|
||||
|
|
|
@ -260,6 +260,7 @@ class CLIP_HT_header(Header):
|
|||
sub.active = sc.show_gizmo
|
||||
sub.popover(panel="CLIP_PT_gizmo_display", text="")
|
||||
|
||||
|
||||
class CLIP_MT_tracking_editor_menus(Menu):
|
||||
bl_idname = "CLIP_MT_tracking_editor_menus"
|
||||
bl_label = ""
|
||||
|
@ -1903,6 +1904,7 @@ class CLIP_MT_view_pie(Menu):
|
|||
pie.separator()
|
||||
pie.operator("clip.graph_center_current_frame")
|
||||
|
||||
|
||||
class CLIP_PT_gizmo_display(Panel):
|
||||
bl_space_type = 'CLIP_EDITOR'
|
||||
bl_region_type = 'HEADER'
|
||||
|
|
|
@ -957,7 +957,8 @@ class TextureRef : public Texture {
|
|||
* Dummy type to bind texture as image.
|
||||
* It is just a GPUTexture in disguise.
|
||||
*/
|
||||
class Image {};
|
||||
class Image {
|
||||
};
|
||||
|
||||
static inline Image *as_image(GPUTexture *tex)
|
||||
{
|
||||
|
|
|
@ -5098,7 +5098,8 @@ static uiBlock *CurveProfile_buttons_tools(bContext *C, ARegion *region, void *p
|
|||
|
||||
static bool CurveProfile_can_zoom_in(CurveProfile *profile)
|
||||
{
|
||||
return BLI_rctf_size_x(&profile->view_rect) > CURVE_ZOOM_MAX * BLI_rctf_size_x(&profile->clip_rect);
|
||||
return BLI_rctf_size_x(&profile->view_rect) >
|
||||
CURVE_ZOOM_MAX * BLI_rctf_size_x(&profile->clip_rect);
|
||||
}
|
||||
|
||||
static bool CurveProfile_can_zoom_out(CurveProfile *profile)
|
||||
|
|
Loading…
Reference in New Issue