1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Fix the order of terms in boolean operation
Author: Sebastian Rühl
Bug-Ubuntu: https://launchpad.net/bugs/787412
Reviewed-By: Rafael Laboissiere <rafael@debian.org>
Forwarded: Not-needed
Last-Update: 2012-05-31
--- octave-vrml-1.0.11.orig/inst/vrml_material.m
+++ octave-vrml-1.0.11/inst/vrml_material.m
@@ -43,7 +43,7 @@ if emit && !isnan (ec)
else
se = "";
end
-if tran && ! isnan (tran)
+if ! isnan (tran) && tran
st = sprintf (" transparency %8.3g\n",tran);
else
st = "";
|