Salome HOME
bos #16700 [EDF] GEOM : Import python file after dump of explode structure from XAO...
[modules/geom.git] / src / XAOPlugin / XAOPlugin_IOperations.cxx
index f77a29aae7869facb1ee759ab2627232aae642c7..f725f43b7b66ba8d1cdab859d69b65a30498cd91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2019  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -527,8 +527,6 @@ bool XAOPlugin_IOperations::ImportXAO( const char* fileName,
     TDF_Label freeLabel = group->GetFreeLabel();
     TDataStd_Integer::Set(freeLabel, (Standard_Integer) getGroupDimension(xaoGroup));
     groups->Append(group);
-
-    function = group->GetLastFunction();
   }
 
   // create the fields