Skip to content
Snippets Groups Projects
Verified Commit ecbcb4bd authored by alex's avatar alex
Browse files

don't fire events when control port values haven't changed

parent 8db684fd
Branches
Tags
No related merge requests found
......@@ -283,10 +283,11 @@ control_port_set_val_from_normalized (
if (!math_floats_equal (self->control, real_val))
{
EVENTS_PUSH (ET_AUTOMATION_VALUE_CHANGED, self);
port_set_control_value (
self, real_val, F_NOT_NORMALIZED, F_PUBLISH_EVENTS);
}
port_set_control_value (
self, real_val, F_NOT_NORMALIZED, F_PUBLISH_EVENTS);
self->automating = automating;
self->base_value = real_val;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment