Skip to content
Permalink
Browse files

Code tweaks

  • Loading branch information...
dictoon committed Aug 15, 2019
1 parent 94c5075 commit 6e88dad50dc7fab6138d5324a99356b53e4b0167
Showing with 6 additions and 10 deletions.
  1. +3 −5 CMakeLists.txt
  2. +3 −5 src/appleseedmaya/appleseedsession.cpp
@@ -76,8 +76,8 @@ set (appleseed_maya_version_maturity beta)
# Build options.
#--------------------------------------------------------------------------------------------------

option (USE_STATIC_BOOST "Use static Boost libraries" ON)
option (WITH_XGEN "Build XGen support" OFF)
option (USE_STATIC_BOOST "Use static Boost libraries" ON)
option (WITH_XGEN "Build XGen support" OFF)


#--------------------------------------------------------------------------------------------------
@@ -108,9 +108,7 @@ if (USE_STATIC_BOOST)
set (Boost_USE_STATIC_LIBS TRUE)
endif ()

set (BOOST_NEEDED_LIBS filesystem system)

find_package (Boost 1.61 REQUIRED ${BOOST_NEEDED_LIBS})
find_package (Boost 1.61 REQUIRED filesystem system)

add_definitions (-DBOOST_FILESYSTEM_VERSION=3 -DBOOST_FILESYSTEM_NO_DEPRECATED)

@@ -859,15 +859,14 @@ namespace
// Reset the renderer controller.
m_rendererController.set_status(asr::IRendererController::ContinueRendering);

// Create the master renderer.
asr::Configuration* cfg = m_project->configurations().get_by_name("final");
const asr::ParamArray& params = cfg->get_parameters();

// Create a tile callback to render to Maya's render view.
m_tileCallbackFactory.reset(
new RenderViewTileCallbackFactory(m_rendererController, m_computation));
m_tileCallbackFactory->renderViewStart(*m_project->get_frame());

// Create the master renderer.
asr::Configuration* cfg = m_project->configurations().get_by_name("final");
const asr::ParamArray& params = cfg->get_parameters();
m_renderer.reset(
new asr::MasterRenderer(
*m_project,
@@ -899,7 +898,6 @@ namespace
// Create the master renderer.
asr::Configuration* cfg = m_project->configurations().get_by_name("final");
const asr::ParamArray& params = cfg->get_parameters();

m_renderer.reset(
new asr::MasterRenderer(
*m_project,

0 comments on commit 6e88dad

Please sign in to comment.
You can’t perform that action at this time.