Skip to content

Commit

Permalink
Small code corrections
Browse files Browse the repository at this point in the history
Fixes #239.
  • Loading branch information
Mango-3 authored and dictoon committed Oct 25, 2018
1 parent 4d396c7 commit bddc85a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ ParamBlockDesc2 g_param_block_desc(
p_end,

ParamIdOptLightOutsideVolumes, L"optimize_for_lights_outside_volumes", TYPE_BOOL, P_TRANSIENT, 0,
p_ui, ParamMapIdLighting, TYPE_SINGLECHEKBOX, IDC_CHECK_LIGHT_OUTSIDE_VOLUMES,
p_ui, ParamMapIdPathTracer, TYPE_SINGLECHEKBOX, IDC_CHECK_LIGHT_OUTSIDE_VOLUMES,
p_default, FALSE,
p_accessor, &g_pblock_accessor,
p_end,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ struct AppleseedRendererParamDlg::Impl
if (m_pmap_image_sampling != nullptr)
DestroyRParamMap2(m_pmap_image_sampling);

if (m_pmap_postprocessing != nullptr)
if (m_pmap_pathtracer != nullptr)
DestroyRParamMap2(m_pmap_pathtracer);

if (m_pmap_postprocessing != nullptr)
Expand Down

0 comments on commit bddc85a

Please sign in to comment.