Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/app/cycles_standalone.cpp
| Context not available. | |||||
| /* Camera width/height override? */ | /* Camera width/height override? */ | ||||
| if (!(options.width == 0 || options.height == 0)) { | if (!(options.width == 0 || options.height == 0)) { | ||||
| options.scene->camera->width = options.width; | options.scene->camera->set_screen_size_and_resolution(options.width, options.height, 1); | ||||
| options.scene->camera->height = options.height; | |||||
| } | } | ||||
| else { | else { | ||||
| options.width = options.scene->camera->width; | options.width = options.scene->camera->get_full_width(); | ||||
| options.height = options.scene->camera->height; | options.height = options.scene->camera->get_full_height(); | ||||
| } | } | ||||
| /* Calculate Viewplane */ | /* Calculate Viewplane */ | ||||
| Context not available. | |||||