Skip to content

Commit da6e596

Browse files
authored
Merge branch 'develop' into patch-15
2 parents fc4675d + 8d0dad5 commit da6e596

File tree

1 file changed

+1
-2
lines changed
  • extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton

1 file changed

+1
-2
lines changed

extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton/script.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,7 @@ def Execute(self, uiapp):
361361
ogs.SetSurfaceForegroundPatternId(solid_fill_id)
362362
ogs.SetCutForegroundPatternId(solid_fill_id)
363363
# Get filters apply to view
364-
filter_name = sel_cat.name + " " " + sel_par.name + " - " + item.value
365-
# added ':' character and chaged the removal method to translate, ref: issue #2466
364+
filter_name = sel_cat.name + " " + sel_par.name + " - " + item.value
366365
filter_name = filter_name.translate({ord(i): None for i in "{}[]:\\|?/<>*"})
367366
if filter_name in dict_filters or filter_name in dict_rules:
368367
if filter_name in dict_rules and filter_name not in dict_filters:

0 commit comments

Comments
 (0)