changeset 12511:ba975de62287 octave-forge

Small change for compatibility with geopdes
author rafavzqz
date Fri, 18 Jul 2014 09:39:24 +0000
parents a346bc0f24ec
children b7aa7811b53e
files extra/nurbs/inst/nrbmultipatch.m
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/extra/nurbs/inst/nrbmultipatch.m	Wed Jul 16 17:00:38 2014 +0000
+++ b/extra/nurbs/inst/nrbmultipatch.m	Fri Jul 18 09:39:24 2014 +0000
@@ -108,10 +108,12 @@
       intrfc.side1 = j1;
       intrfc.patch2 = i2;
       intrfc.side2 = non_set_faces{i2}(j2);
-      intrfc.flag = flag;
       if (ndim ==3)
+        intrfc.flag = flag;
         intrfc.ornt1 = ornt1;
         intrfc.ornt2 = ornt2;
+      else
+        intrfc.ornt = flag;
       end
 
       non_set_faces{i2} = setdiff (non_set_faces{i2}, non_set_faces{i2}(j2));