Reset to 0 on save

Mar 16, 2010 at 5:22pm

Reset to 0 on save


I have a small patch here where certain number boxes reset to 0. on every second save.
What am I doing wrong?

It seems to be related to a [send] object I am using, but I can’t narrow it down. I’m using a slider to send signals. When I move the slider to set a value. The receiving box takes the number and stores it. Now when I save everything’s fine. As soon as i hit save a second time, the box resets itself to 0.

Why is that annoying?
Because I’m working on another part of the patch where I need that sliders value.
I save everything’s fine, as soon as I make my second change and save everything is being reset.

Thankful for any help.

Mar 16, 2010 at 5:49pm

I think I got the problem. I’m using two slider boxes, which are connected to each other. The first one is for setting a “fine value” the second one a “gross value”.
I assumed connecting both is a good idea, because when changing the fine value, the gross value should follow these changes.

Mar 16, 2010 at 7:07pm

have a look at the pattr family: pattrstorage, autopattr, pattrforward etc. it can help a lot with stuff like this.

Mar 16, 2010 at 8:05pm

Ok, thanks a lot.


You must be logged in to reply to this topic.