Bug #336
jcom.filter~ dumps list of filters twice
| Status: | Closed | Start date: | 2009-10-10 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | Spent time: | 1.00 hour | |
| Target version: | Jamoma 0.5 | |||
| Branch: | master | OS: |
Description
When the message gettypes is sent to jcom.filter~ the list of filters is dumped twice. If used to build an umenu, the menu contains all items twice.
History
Updated by Trond Lossius over 2 years ago
- Assignee changed from Trond Lossius to Tim Place
OK, here's the result of further testing using the debugger:
We currently have 20 different filter units.
When gettypes is sent to jcom.filter~, and we enter the filter_gettypes() method (line 200 of jcom.filter~.cpp), the method TTGetRegisteredClassNamesForTags(v, TT("filter")); (line 209) returns a v of size 40, that contains the list of all filters twice.
I am not sure that I understand what goes on inside TTGetRegisteredClassNamesForTags(), so I'm assigning this bug to Tim for further inspections.
A simple "hack solution" would be to divide the v.size by 2, but this issue might have consequences elsewhere as well, so it's better that we solve it properly.
Updated by Trond Lossius over 2 years ago
- Status changed from New to Closed
This problem seems to be solved now.