Fix T41800: Freestyle + Cycles panoramic camera not compatible, renders are incorrect.

This commit is contained in:
Tamito Kajiyama
2014-09-13 11:39:01 +09:00
parent bd671f1005
commit e5b2e9cdd3

View File

@@ -2645,7 +2645,7 @@ bool RE_is_rendering_allowed(Scene *scene, Object *camera_override, ReportList *
} }
#ifdef WITH_FREESTYLE #ifdef WITH_FREESTYLE
if ((scene->r.mode & R_EDGE_FRS) && (!BKE_scene_use_new_shading_nodes(scene))) { if (scene->r.mode & R_EDGE_FRS) {
BKE_report(reports, RPT_ERROR, "Panoramic camera not supported in Freestyle"); BKE_report(reports, RPT_ERROR, "Panoramic camera not supported in Freestyle");
return 0; return 0;
} }