]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
Don't change file format when adding it as a new document version.
authorrkv <rkv@opencascade.com>
Mon, 28 Jan 2013 08:36:25 +0000 (08:36 +0000)
committerrkv <rkv@opencascade.com>
Mon, 28 Jan 2013 08:36:25 +0000 (08:36 +0000)
Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java

index 6a10e4c9c2d3581d070c81cfc79f524e8aa4e3cb..f5d5c401d67ac03fb25c3ce73abfa054dd209f59 100644 (file)
@@ -381,9 +381,9 @@ public class StepServiceImpl implements StepService {
                }
 
                if (newFormat != null
-                               && previous.getType().equals(
+                               /*&& previous.getType().equals(
                                                getProjectSettings().getDefaultDocumentType(
-                                                               aStep.getStep(), newFormat))) {
+                                                               aStep.getStep(), newFormat))*/) {
                        dprop.setFormat(newFormat);
                }