Bug 12457 fixed: drawlater() was not taken into account with xfpolys 63/11063/2
Calixte DENIZET [Wed, 27 Mar 2013 15:56:01 +0000 (16:56 +0100)]
Change-Id: Iabebe47c44a94ca900d1406736bd6d653f5385ec

scilab/CHANGES_5.4.X
scilab/modules/graphics/sci_gateway/c/sci_xfpolys.c

index 21816ae..42f8ef2 100644 (file)
@@ -616,6 +616,8 @@ Bug fixes
 
 * Bug #12455 fixed - format_n property had no effect on "axis" handles.
 
+* Bug #12457 fixed - drawlater() was not taken into account with xfpolys.
+
 
                     Changes between version 5.3.3 and 5.4.0
                     =======================================
index 031ce56..a3a7a3c 100644 (file)
@@ -161,15 +161,13 @@ int sci_xfpolys(char *fname, unsigned long fname_len)
         setGraphicObjectRelationship(pstCompoundUID, getObjectFromHandle(hdl));
     }
 
-
     setCurrentObject(pstCompoundUID);
 
-    setGraphicObjectProperty(pstFigureUID, __GO_IMMEDIATE_DRAWING__, &piImmediateDrawing, jni_bool, 1);
+    setGraphicObjectProperty(pstFigureUID, __GO_IMMEDIATE_DRAWING__, piImmediateDrawing, jni_bool, 1);
     getGraphicObjectProperty(pstFigureUID, __GO_VISIBLE__, jni_bool, (void **)&piVisible);
 
     setGraphicObjectProperty(pstCompoundUID, __GO_VISIBLE__, &iVisible, jni_bool, 1);
 
-
     LhsVar(1) = 0;
     PutLhsVar();
     return 0;