Reset to 0 on save

Zettt's icon

Hi,

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.

Zettt's icon

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.

jonnyfive's icon

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

Zettt's icon

Ok, thanks a lot.