How to correlate band_add_segment_segment(...) and band_set_strength(index, strength)
|Opened on:||Saturday, June 5, 2010 - 18:23|
|Last modified:||Thursday, July 19, 2012 - 08:15|
the current function band_add_segment_segment(...) does not return any information.
It would be very useful if this function returned the current band number assigned to the newly created band.
The current method requires the following:
band_index = get_band_count() -- assuming the band just created has the highest band count
Returning the band number results in the following code
band_index = band_add_segment(5,7)
Much easier to follow and to write