Skip to content

Replace usage of ExternalProperty

m.puchner requested to merge RmExternalProperty into develop

ExternalProperty was a "struct" with text, color, identifier.

It was used for
a) storing the material color in an MaterialItem
b) storing the selected material in an ItemWithMaterial

To simplify things, this was reworked in this way:
a) in MaterialItem, store the color directly as QColor
b) in ItemWithMaterial, store only the identifier of the used material (as QString)

After this, ExternalProperty became obsolet and was removed

Old project files can still be read (newly generated project files cannot be read by older BornAgain)

Merge request reports