forked from bartvdbraak/blender
Fix compilation of cycles standalone and network device
This commit is contained in:
parent
0922b6d6de
commit
b5b269ac11
@ -216,6 +216,10 @@ if(WITH_CYCLES_BLENDER)
|
||||
add_subdirectory(blender)
|
||||
endif()
|
||||
|
||||
if(WITH_CYCLES_NETWORK)
|
||||
add_definitions(-DWITH_NETWORK)
|
||||
endif()
|
||||
|
||||
if(WITH_CYCLES_STANDALONE OR WITH_CYCLES_NETWORK)
|
||||
add_subdirectory(app)
|
||||
endif()
|
||||
|
@ -359,7 +359,7 @@ static void xml_read_camera(const XMLReadState& state, pugi::xml_node node)
|
||||
xml_read_float(&cam->fisheye_fov, node, "fisheye_fov");
|
||||
xml_read_float(&cam->fisheye_lens, node, "fisheye_lens");
|
||||
|
||||
xml_read_float(&cam->use_spherical_stereo, node, "use_spherical_stereo");
|
||||
xml_read_bool(&cam->use_spherical_stereo, node, "use_spherical_stereo");
|
||||
xml_read_float(&cam->interocular_distance, node, "interocular_distance");
|
||||
xml_read_float(&cam->convergence_distance, node, "convergence_distance");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user