tyoeer / Chaoshead

A level editor, scripting interface, campaign editor, and reverse engineering tool for Levelhead
Apache License 2.0
4 stars 1 forks source link

Crash when trying to filter recieving channels by "!= -1" #58

Closed slothybutt closed 1 year ago

slothybutt commented 1 year ago

Error

table index is nil

Traceback

[love "callbacks.lua"]:228: in function 'handler' [C]: in function 'rawset' libs/tyoeerUtils/datastructures.lua:68: in function '__index' tools/selection/mask.lua:52: in function 'remove' levelEditor/levelEditor.lua:195: in function 'filter' levelEditor/details/propertyEditor.lua:34: in function 'onClick' ui/widgets/button.lua:109: in function 'onInputDeactivated' ui/base/container.lua:133: in function 'inputDeactivated' ui/base/container.lua:126: in function 'inputDeactivated' ui/base/container.lua:126: in function 'inputDeactivated' ... ui/base/container.lua:126: in function 'inputDeactivated' ui/base/container.lua:126: in function 'inputDeactivated' main.lua:56: in function 'inputDeactivated' libs/tyoeerUtils/input.lua:282: in function 'actionDeactivated' libs/tyoeerUtils/input.lua:299: in function 'triggerDeactivation' libs/tyoeerUtils/input.lua:214: in function 'mousereleased' main.lua:71: in function

[C]: in function 'xpcall'

slothybutt commented 1 year ago

Turns out it just happens when you filter anything in this particular category of which I do not know the name of

https://cdn.discordapp.com/attachments/648234423392927775/1033871409484673074/8mb.video-cm7-U23XXR3o.mp4

tyoeer commented 1 year ago

Not that there was an easy way to know, but this is a duplicate of #56. CH crashes when it has to filter out a path. Therefore also already fixed in the next release.