projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0025907: Optimization of testdiff command
[occt.git]
/
src
/
ViewerTest
/
ViewerTest_ViewerCommands.cxx
diff --git
a/src/ViewerTest/ViewerTest_ViewerCommands.cxx
b/src/ViewerTest/ViewerTest_ViewerCommands.cxx
index
e1d466e
..
8f7c676
100644
(file)
--- a/
src/ViewerTest/ViewerTest_ViewerCommands.cxx
+++ b/
src/ViewerTest/ViewerTest_ViewerCommands.cxx
@@
-5281,7
+5281,7
@@
static int VDiffImage (Draw_Interpretor& theDI, Standard_Integer theArgNb, const
theDI << aDiffColorsNb << "\n";
// save image of difference
- if (aDiffImagePath != NULL)
+ if (aDiff
ColorsNb >0 && aDiff
ImagePath != NULL)
{
aComparer.SaveDiffImage (aDiffImagePath);
}