X-Git-Url: http://git.tdb.fi/?p=poefilter.git;a=blobdiff_plain;f=source%2Fappearance.cpp;fp=source%2Fappearance.cpp;h=51ff10d36e1e99596198911dc7f039f66916243c;hp=cb132fd135a96c0effdaee80d274b331006e0a70;hb=f8bce1ce641e84d8271cb16eadb695b039032358;hpb=ea5b219d29fabbe0ff9dea0d1ab4ca918cefb6ec diff --git a/source/appearance.cpp b/source/appearance.cpp index cb132fd..51ff10d 100644 --- a/source/appearance.cpp +++ b/source/appearance.cpp @@ -33,6 +33,18 @@ void Appearance::merge_from(const Appearance &other) sound_type = other.sound_type; sound_volume = other.sound_volume; } + if(other.show_icon) + { + show_icon = true; + icon_shape = other.icon_shape; + icon_color = other.icon_color; + icon_size = other.icon_size; + } + if(other.show_beam) + { + show_beam = true; + beam_color = other.beam_color; + } } void Appearance::add_lines(FilterStatement &st) const