Salome HOME
projects
/
modules
/
paravis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dddfa7f
)
[PY3] Fix tab/space mix
author
Gilles DAVID
<gilles-g.david@edf.fr>
Fri, 31 Mar 2017 08:21:07 +0000
(10:21 +0200)
committer
Gilles DAVID
<gilles-g.david@edf.fr>
Fri, 31 Mar 2017 08:21:07 +0000
(10:21 +0200)
src/Macro/annotate_groups.py
patch
|
blob
|
history
diff --git
a/src/Macro/annotate_groups.py
b/src/Macro/annotate_groups.py
index 8f0bd0182b9cdbb00b7563739f955ef31bb210d3..c1a4cf2d2bf553b8df8eb7ff20bc7c3468514a41 100644
(file)
--- a/
src/Macro/annotate_groups.py
+++ b/
src/Macro/annotate_groups.py
@@
-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'