Skip to content

Commit

Permalink
Fix 3ds Max 2015 build
Browse files Browse the repository at this point in the history
  • Loading branch information
dictoon committed Dec 28, 2017
1 parent e52557a commit befa48c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/appleseed-max-impl/appleseedrenderer/projectbuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1292,6 +1292,8 @@ namespace
}
}

#if MAX_RELEASE >= 18000

void set_camera_dof_params(
asr::ParamArray& params,
MaxSDK::IPhysicalCamera* camera_node,
Expand Down Expand Up @@ -1319,6 +1321,8 @@ void set_camera_dof_params(
}
}

#endif

asf::auto_release_ptr<asr::Camera> build_camera(
INode* view_node,
const ViewParams& view_params,
Expand Down
4 changes: 4 additions & 0 deletions src/appleseed-max-impl/appleseedrenderer/projectbuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,16 @@ foundation::auto_release_ptr<renderer::Project> build_project(
Bitmap* bitmap,
const TimeValue time);

#if MAX_RELEASE >= 18000

void set_camera_dof_params(
renderer::ParamArray& params,
MaxSDK::IPhysicalCamera* camera_node,
Bitmap* bitmap,
const TimeValue time);

#endif

foundation::auto_release_ptr<renderer::Camera> build_camera(
INode* view_node,
const ViewParams& view_params,
Expand Down

0 comments on commit befa48c

Please sign in to comment.