Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKepzie committed Mar 15, 2015
1 parent 569d2d2 commit 643f2c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SeExpr/SeExpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
#define kSeExprOutputWidthVarName "output_width"
#define kSeExprOutputHeightVarName "output_height"

#define kSeExprDefaultScript "$color = " kSeExprGetPixelFuncName "(1, frame, x, y);\n$color"
#define kSeExprDefaultScript "$color = " kSeExprGetPixelFuncName "(1, frame, x, y);\n#Return the output color\n$color"

#define kBoundingBoxParamName "boundingBox"
#define kBoundingBoxParamLabel "Bounding box"
Expand Down Expand Up @@ -1561,7 +1561,9 @@ SeExprPlugin::changedParam(const OFX::InstanceChangedArgs &args, const std::stri
_colorParamCount->setEvaluateOnChange(validated);
_script->setEnabled(!validated);
_script->setEvaluateOnChange(validated);
clearPersistentMessage();
if (validated) {
clearPersistentMessage();
}
}

}
Expand Down

0 comments on commit 643f2c8

Please sign in to comment.