Commit a784d6b
committed
If svg files with params do not have a default value set, then don't
reset the fill/border color and border width when changing svg
marker/svg fill SVG files
This change makes the behaviour consistent between the svg marker
symbol and the other marker symbols. Additionally, svg files
which have customisable colors and NO default values set will
be shaded in gray fill/black outline in the svg selector widget,
to follow the same behaviour as the other marker symbol selectors.
Note that this change has NO EFFECT unless the svg files are
modified to remove the default param value, so there will be no
change for users' custom symbols. A follow up commit will need
to remove the default param values from the preinstalled SVG
files though. If you want to test in the meantime, I've modified
just the first two symbols in the accomodation group to make
this change for testing.
(refs #10908)1 parent 1bd2a69 commit a784d6b
9 files changed
Lines changed: 152 additions & 47 deletions
File tree
- images/svg/accommodation
- python/core/symbology-ng
- src
- core/symbology-ng
- gui/symbology-ng
Loading
Lines changed: 7 additions & 7 deletions
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
91 | 110 | | |
92 | 111 | | |
93 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1712 | 1712 | | |
1713 | 1713 | | |
1714 | 1714 | | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
1715 | 1718 | | |
1716 | 1719 | | |
1717 | 1720 | | |
| |||
1725 | 1728 | | |
1726 | 1729 | | |
1727 | 1730 | | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1728 | 1734 | | |
1729 | 1735 | | |
1730 | 1736 | | |
| |||
2224 | 2230 | | |
2225 | 2231 | | |
2226 | 2232 | | |
2227 | | - | |
2228 | | - | |
2229 | | - | |
2230 | | - | |
2231 | | - | |
2232 | 2233 | | |
2233 | 2234 | | |
2234 | 2235 | | |
2235 | 2236 | | |
2236 | 2237 | | |
2237 | 2238 | | |
| 2239 | + | |
2238 | 2240 | | |
2239 | 2241 | | |
2240 | | - | |
2241 | | - | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
2242 | 2245 | | |
2243 | | - | |
| 2246 | + | |
2244 | 2247 | | |
2245 | 2248 | | |
2246 | 2249 | | |
2247 | | - | |
| 2250 | + | |
2248 | 2251 | | |
2249 | 2252 | | |
2250 | 2253 | | |
2251 | | - | |
| 2254 | + | |
2252 | 2255 | | |
2253 | 2256 | | |
2254 | 2257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1076 | 1079 | | |
1077 | 1080 | | |
1078 | 1081 | | |
1079 | | - | |
| 1082 | + | |
1080 | 1083 | | |
1081 | 1084 | | |
1082 | 1085 | | |
1083 | | - | |
| 1086 | + | |
1084 | 1087 | | |
1085 | 1088 | | |
1086 | 1089 | | |
| |||
1163 | 1166 | | |
1164 | 1167 | | |
1165 | 1168 | | |
1166 | | - | |
1167 | | - | |
1168 | | - | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
1169 | 1175 | | |
1170 | 1176 | | |
1171 | 1177 | | |
1172 | | - | |
| 1178 | + | |
1173 | 1179 | | |
1174 | 1180 | | |
1175 | 1181 | | |
1176 | | - | |
| 1182 | + | |
1177 | 1183 | | |
1178 | 1184 | | |
1179 | 1185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
229 | 243 | | |
230 | 244 | | |
231 | 245 | | |
232 | 246 | | |
233 | | - | |
| 247 | + | |
234 | 248 | | |
235 | 249 | | |
236 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
237 | 255 | | |
238 | 256 | | |
239 | 257 | | |
240 | 258 | | |
241 | 259 | | |
242 | 260 | | |
243 | 261 | | |
244 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
245 | 265 | | |
246 | 266 | | |
247 | 267 | | |
| |||
632 | 652 | | |
633 | 653 | | |
634 | 654 | | |
635 | | - | |
636 | | - | |
| 655 | + | |
| 656 | + | |
637 | 657 | | |
638 | 658 | | |
639 | 659 | | |
| |||
675 | 695 | | |
676 | 696 | | |
677 | 697 | | |
| 698 | + | |
678 | 699 | | |
679 | 700 | | |
680 | 701 | | |
| |||
683 | 704 | | |
684 | 705 | | |
685 | 706 | | |
| 707 | + | |
686 | 708 | | |
687 | 709 | | |
688 | 710 | | |
| |||
691 | 713 | | |
692 | 714 | | |
693 | 715 | | |
| 716 | + | |
694 | 717 | | |
695 | 718 | | |
696 | 719 | | |
| |||
705 | 728 | | |
706 | 729 | | |
707 | 730 | | |
| 731 | + | |
708 | 732 | | |
709 | 733 | | |
710 | 734 | | |
| |||
713 | 737 | | |
714 | 738 | | |
715 | 739 | | |
| 740 | + | |
716 | 741 | | |
717 | 742 | | |
718 | 743 | | |
| |||
721 | 746 | | |
722 | 747 | | |
723 | 748 | | |
| 749 | + | |
724 | 750 | | |
725 | 751 | | |
726 | 752 | | |
| |||
732 | 758 | | |
733 | 759 | | |
734 | 760 | | |
735 | | - | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
736 | 764 | | |
737 | 765 | | |
738 | 766 | | |
| |||
0 commit comments