Message ID | 20110922105216.18991.49394.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/scene-shading.cpp' --- src/scene-shading.cpp 2011-09-14 08:39:16 +0000 +++ src/scene-shading.cpp 2011-09-21 14:29:29 +0000 @@ -275,8 +275,8 @@ ref = Canvas::Pixel(0x00, 0x00, 0x2d, 0xff); else if (filter == "blinn-phong-inf") ref = Canvas::Pixel(0x1a, 0x1a, 0x3e, 0xff); - else if (filter == "phong") - ref = Canvas::Pixel(0x1a, 0x1a, 0x53, 0xff); + else if (filter == "phong" && mOptions["num-lights"].value == "1") + ref = Canvas::Pixel(0x05, 0x05, 0xad, 0xff); else return Scene::ValidationUnknown;