Skip to content
Snippets Groups Projects
Commit 07983625 authored by Whitney Armstrong's avatar Whitney Armstrong Committed by Andre Sailer
Browse files

Added VisAttr ref extension compact construction

 - Using `ref="OtherVisName"` attribute, the visualization attribute is an extension of
the `"OtherVisName"` which is used to initialize the new vis attribute.
 - The new VisAttr inherits all the properties  of the ref and additional arguments override these values.

Example where the only difference is the `alpha` value.

```
  <vis name="SiVertexBarrelModuleVis"
       alpha="1.0" r="1.0" g="0.75" b="0.76"
       drawingStyle="wireframe"
       showDaughters="false"
       visible="true"/>

  <vis name="SiVertexEndcapModuleVis"
       ref="SiVertexBarrelModuleVis"
       alpha="0.5"/>
```

	modified:   src/plugins/Compact2Objects.cpp
parent b7f3f574
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment