I downloaded the build and had some issues compiling.
scribblearea.cpp
-
math.h pow method “more than one instances matches…” and "pow has 6 similar conversions"
easy fix:
added f (for float) to the 2.0 param.
Line:
currentTool()->adjustPressureSensitiveProperties(pow(m_strokeManager->getPressure(),2.0f), -
smudgeTool KeyRelease and KeyPress are bool, but don’t return a value.
// return true if handled
line:
bool SmudgeTool::keyReleaseEvent(QKeyEvent *event) …
bool SmudgeTool::keyPressEvent(QKeyEvent *event) …
I returned true;
Also, the original bug for exporting where framereminder is set to the modulus and is zero (divide by zero error) is still there.
Quick Fix - check for zero
{if (*frameReminder>0) {
*framePutEvery = fps / *frameReminder; *frameSkipEvery = 0;
}
else {
*framePutEvery = 1; *frameSkipEvery = 0;
}
}
Thanks for the smudge tool, I’ve been wanting this for awhile.
Much appreciated