Bug? Loadbang twice when creating poly~ via scripting
Jun 19 2010 | 7:32 pm
Hi,
I noticed today that when I make a poly~ using [script newobject ...] or [script newdefault ...] to thispatcher, loadbang bangs again for no reason. If [script newobject ...] message box is directly connect to loadbang, it's fine, but If I create poly~ later, I get another bang from loadbang.
I attached a simple patch demonstrating this bug. There's a counter connected to loadbang, and you'll notice that when the patch open you get "loadbang 0" in the Max window. When you click on the message box to create poly~, you will get "loadbang 1" in the Max window. The second time you create a poly~, loadbang doesn't bang again. Close and reopen the patch and same thing happens.
I can work around by using [onebang 1] after loadbang, but that seems more of a hack... If anyone can comment on this, I'd appreciated.
I'm using Max 5.1.4 on OS X 10.6.3.
Thanks,
Toshiro