Xcos: fixed updating the field of zero-crossing at the scilab mlist.
[scilab.git] / 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());
     }