]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
[PY3] Fix tab/space mix
authorGilles DAVID <gilles-g.david@edf.fr>
Fri, 31 Mar 2017 08:21:07 +0000 (10:21 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Fri, 31 Mar 2017 08:21:07 +0000 (10:21 +0200)
src/Macro/annotate_groups.py

index 8f0bd0182b9cdbb00b7563739f955ef31bb210d3..c1a4cf2d2bf553b8df8eb7ff20bc7c3468514a41 100644 (file)
@@ -243,9 +243,9 @@ if data.GetDataObjectType() == vtkDataObjectTypes.GetTypeIdFromClassName("vtkMul
     
     # Check that PointSprite plugin is available
     if hasattr(representation, "MaxPixelSize"):
-       activeRepresentation = 'Point Sprite'
-       if representation.MaxPixelSize == 64:
-           representation.MaxPixelSize = 8
+        activeRepresentation = 'Point Sprite'
+        if representation.MaxPixelSize == 64:
+            representation.MaxPixelSize = 8
     else:
         activeRepresentation = 'Points'