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 = "";
