Commit dfbb403a authored by Ken Martin's avatar Ken Martin Committed by Brad King
Browse files

fix a bug in image difference producing bad results

make image difference symmetric to catch some
failures that were slipping through. This exposed
a number of valid images that were no longer
correct and needed to be replaced.
parent b47b1a02
......@@ -23,6 +23,7 @@
#include "vtkNew.h"
#include "vtkPointData.h"
#include "vtkPolyDataMapper.h"
#include "vtkProperty.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......@@ -81,6 +82,8 @@ namespace
vtkNew<vtkActor> actor;
actor->SetMapper(mapper);
actor->GetProperty()->SetAmbient(1.0);
actor->GetProperty()->SetDiffuse(0.0);
ren->AddActor(actor);
ren->ResetCamera();
......
ccc21bbcbffc94fe9ca01c8658723a8ecbf21a5f470ad774b10a0e3bedebee73a5c497b7585d1bbb078547e43da7d8d58ab76c559eda3bfadd9cbac3ac72c14f
d0892be53f4f10d2b7773a1311b2a7381fbb1aadaa73e9f580be442586adc95553a02077e2c844fa33f9b4793c6a6f00630adb6766a2958cc6ef999bc087b5dc
da448bdc5ea8aba50176aec6947d5cdf4e9bdb56dfda4fbc685aca54e895e0f6f96d33b93fc78fc3f24fdce11daf4b0b867e74cdb015bf784f36abe28223b257
55f5306e88649e9707188010d0df8215e923654aab378ab0f1b36529a7ce2eed156e43cdfeae15ac2e8fa198d2f5ad9ffb6f5fbc8c6a38a6e31b71880cd19840
85d4cf99a41f53e7e5269a7cdf3f152195134748fef8bf24e4d48c39d741665598c216ed87c6a8f58887f223b773224901ff99c4a1aff6ed0aa7a3cd2e58b9ff
5388f2377b56d54a92f95c330f28f9eb9803b1afba1c8d11acca6cfca721284ab167e59cf5529c645b5a3d1784a483384f5056d8508bf6cf3f9d4b3ea9e8f5eb
16d52e394ccc30a291b5dc436d65c12876e210b82b0d2ce16645836bfdf55b169569d45122a6ed362a9f0442f4de5149dcdc291acd60cbf6ec54e4b2c6a2e5c9
f20930c1685aead066672df9d2582c4f090c95663c9a1b9b2b0c7b9de87ccf283dac625e07ba5b9c53021114d9c8f96518fe46377464763ea54bb43ec4c2b016
4a132608c988d0b44909e362dbd51c9c06970cb676c70d74c7a174bc7a068f61efcf0aff3fc9c38fa298f3afe0ce4cb67edf968d5bf098c1949030df18158c04
8550517e6a79e6dfd30c2d84b7aaeb3e323c0ce5e579583a6ec214b6b37330e371c7e3cc19859af82f8e583834a87601994162b8b0d0e38913fcc816f0e6f986
c2f5126333dc2d6071868344b1f29cd28287c547d62dd0e7e040196ef849e08f41b34dc27862884f2b6de47ea3f45fef2ee1fb1d1d9a5d05f06d405f1432dba8
6a79c2ed5bf0963dfec0c1b9b0f7cd6615968cb2ac7cb1cca5e38e133336d1258c42d1ed39f0244ff8c75821ef30e97ccb12a7c32c31722a62180aca970fd60b
282d5da5ac1bc7c45e35dcfdd5f072f71da6f90d1e13d9ec3952e21223e8085f325c973efbcd1c526d4d7dcc2a6a6a6fc1b799384dd3165a3bb63b5eb5c09c8c
df881baa0f3f463aa5fe63dc16f55bb6ad3cbdcac78393b729918e73c8a84f61d755e6a0bef557e67a28c5021148bfc130a843ba5dcbb5852e8dc4f7f704d8b3
33eca3c1d9f4ff66de8df9cd038b36c88b7fab43ae0291687e0702ada1a658b0b0cae6635cebea4d7c384d8588d7d06d4095c133a57ef5fdba381f605af7d2fb
8d4cf05a07727c251f1da3a54b92b9534cac0c9bea633e6492c67356bc423e50c7b8e32ebd2922be0cdb28fe20227fec1292832a19002871a434592baf83f538
7f90d6b502cbc754f03e118232a795d1828c233e93c6b748a484457d248727819800270d920700bc5349e22fa92c140d9fa1793b120945d4b8e7e1b4b70040ad
0a4edca68b26134d1cd8c0b0e53daa2693def43c02d1586058ff2a38d3047fb470d977d83e5ca5bc0c12960f1f58799780a2a3718519c92852f12021cd441fa9
9bfb56931a97a1e3052f101b5981e249c06642c54a4a299be0917c5b090277ba53fa6e21ef334a7b496af4e2f26b913b87c11e4f74d7bd5c7ed3c7f8cb8fa06b
e6ddc1148d308c9f8d206e04ef9606c1e86a5661b5cf22362239679b41b7592c2acc1f1e9951ef4f7c781f1ef9d300474870553ff9c4b9c1c5eb753f38bcc95a
436d11012ba143822ecdf717d785535a85c5032c18cecc2b0c035a12d94ad3643cc01559a39f6c795dd45c6b8b54106d5e95623067996376d320ef7792063c73
f4becfa1260cb17fd9b29a5dbcf17ebcc6720f59eb10ac46d6a02be5622ddf814e18f1b2f45a2cf7dd93dac8dcaf411cd3d2241b75a1f65fbbe29d7828442e1b
1646ec89e33d558526a257c3b6aa8753327a6fd22806dd020348bd9fc1e414b7716be9b2affd0809d8783bf21f8f135f57bb77deb02cae7f363405f12c741147
0175bc38faf5b255506d0c6f7325f52296cc45cb17ea62edf8ef2826360db35c7d4a108b85c7eb446a9429524761500a7d8966a756ace5647a6a3678e5803288
cb5b7532b61da1aa585ae31ea6b7957806384b5bcc2f616dff3abf75c8224b9f4c5156395aa0f154d0af03a5bf82d79176492e150e0ad170dab231fa616f543b
a001fd8ade1e7daa7545d4159433b862c5f4b986d12b931fa147abe500ce33387444e29182b5858959d896d60f529f2ca34e0131b3ac22932420589fe51ab55f
5fd6f63cd6d08690c59188c2bff15eadb8444525e353770239d5bdda516c3e041d848b4857501d8d8446ce7deed50c6b87c3cc5b94c6e6472f891b362b1e311c
5ff049d25a6b73ae7f25466b1f1f8a3b19ddcc8594dadf869c0254a6519f582c294b812b20a56329555f7827571e5312e5f1454cb78233e1270493b00fd78c1c
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment