mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Fixes some Filteriffic issues and implements colorspace/blend mode controls (#93145)
## About The Pull Request - Fixes filteriffic erroring out when trying to edit a filter - Implements plugs for color/transform matrix editing rather than just displaying an error - Fixes bloom threshold displaying as a float rather than a color due to an overlap with rays filter - Displace filter flags can now be controlled - Color matrix filter now allows the user to change the colorspace (not really that useful considering you still can't edit the matrix) - Layering filter now allows the user to control its blending mode (actually useful this time) ## Changelog 🆑 fix: Fixed filteriffic runtiming when editing filters, and claiming that bloom threshold is a number admin: Filteriffic got a few new options (you should still avoid using it) /🆑
This commit is contained in:
@@ -154,14 +154,12 @@
|
||||
this_relay["blend_mode"] = GLOB.blend_names["[relay.blend_mode]"]
|
||||
relays += list(this_relay)
|
||||
|
||||
for (var/filter_id in plane.filter_data)
|
||||
var/list/filter = plane.filter_data[filter_id]
|
||||
for (var/list/filter in plane.filter_data)
|
||||
if(!filter["render_source"])
|
||||
continue
|
||||
|
||||
var/list/filter_info = filter.Copy()
|
||||
filter_info["name"] = filter_id
|
||||
filter_info["our_ref"] = "[plane.plane]-[filter_id]"
|
||||
filter_info["our_ref"] = "[plane.plane]-[filter_info["name"]]"
|
||||
filters += list(filter_info)
|
||||
|
||||
this_plane["relays"] = relays
|
||||
|
||||
Reference in New Issue
Block a user