Cleanup: simplify comparison, clarify comment
This commit is contained in:
parent
e0ab4b29a9
commit
fdc332981e
|
@ -305,7 +305,7 @@ class CYCLES_RENDER_PT_sampling_advanced(CyclesButtonsPanel, Panel):
|
|||
layout.separator()
|
||||
|
||||
heading = layout.column(align=True, heading="Scrambling Distance")
|
||||
heading.active = not cscene.sampling_pattern == 'SOBOL_BURLEY'
|
||||
heading.active = cscene.sampling_pattern != 'SOBOL_BURLEY'
|
||||
heading.prop(cscene, "auto_scrambling_distance", text="Automatic")
|
||||
heading.prop(cscene, "preview_scrambling_distance", text="Viewport")
|
||||
heading.prop(cscene, "scrambling_distance", text="Multiplier")
|
||||
|
|
|
@ -436,7 +436,7 @@ void RE_AcquireResultImage(Render *re, RenderResult *rr, const int view_id)
|
|||
rr->rectx = re->result->rectx;
|
||||
rr->recty = re->result->recty;
|
||||
|
||||
/* actview view */
|
||||
/* `scene.rd.actview` view. */
|
||||
rv = RE_RenderViewGetById(re->result, view_id);
|
||||
rr->have_combined = (rv->rectf != nullptr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue