Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
benkuper committed Sep 9, 2024
2 parents 849846c + 9f88687 commit 94b2d60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Source/Common/ParameterLink/ParameterLink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ void ParamLinkContainer::linkParamToMappingIndex(Parameter* p, int mappingIndex)

var ParamLinkContainer::linkParamToMappingIndexFromScript(const var::NativeFunctionArgs& a)
{
if (!checkNumArgs("linkToMappingIndex", a, 2)) return false;
if (!checkNumArgs("linkParamToMappingIndex", a, 2)) return false;

if (ParameterLink* link = getLinkedParamFromScript(a))
{
Expand All @@ -609,7 +609,7 @@ var ParamLinkContainer::linkParamToMappingIndexFromScript(const var::NativeFunct

var ParamLinkContainer::setParamLinkFromScript(const var::NativeFunctionArgs& a)
{
if (!checkNumArgs("setLink", a, 2)) return false;
if (!checkNumArgs("setParamLink", a, 2)) return false;
if (ParameterLink* link = getLinkedParamFromScript(a))
{
link->setLinkFromScript(a.arguments[1]);
Expand All @@ -620,7 +620,7 @@ var ParamLinkContainer::setParamLinkFromScript(const var::NativeFunctionArgs& a)

var ParamLinkContainer::unlinkParamFromScript(const var::NativeFunctionArgs& a)
{
if (!checkNumArgs("setLink", a, 2)) return false;
if (!checkNumArgs("unlinkParam", a, 1)) return false;
if (ParameterLink* link = getLinkedParamFromScript(a))
{
link->setLinkType(ParameterLink::NONE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ void ConditionEditor::newMessage(const Condition::ConditionEvent &e)

void ConditionEditor::childBoundsChanged(Component * c)
{
//resized();
resized();
repaint();
}

0 comments on commit 94b2d60

Please sign in to comment.