Xcos: fixed updating the field of zero-crossing at the scilab mlist. 14/13014/3
Uladzislau TRUBKIN [Mon, 28 Oct 2013 12:57:02 +0000 (13:57 +0100)]
Change-Id: I3b286f7a3cb589730981fb857899cc20d1e9aac9

scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/BasicBlock.java

index 0405a46..ae27acd 100644 (file)
@@ -1163,7 +1163,10 @@ public class BasicBlock extends ScilabGraphUniqueObject implements Serializable
         setBlockType(modifiedBlock.getBlockType());
         setSimulationFunctionName(modifiedBlock.getSimulationFunctionName());
         setSimulationFunctionType(modifiedBlock.getSimulationFunctionType());
-
+        
+        setNbZerosCrossing(modifiedBlock.getNbZerosCrossing());
+        setNmode(modifiedBlock.getNmode());
+        
         setEquations(modifiedBlock.getEquations());
         setStyle(modifiedBlock.getStyle());
     }