Compare commits

..

No commits in common. "831c4b5cb8948dcdd7ee4be170f5495c84bb65bb" and "6dd0f78f5137a8a45c8962567ebf925543feddf8" have entirely different histories.

5 changed files with 4 additions and 2 deletions

View File

@ -193,6 +193,7 @@ void RenderHandler::interruptPreview() {
void RenderHandler::outOfMemory() { void RenderHandler::outOfMemory() {
if(mRenderingPreview) { if(mRenderingPreview) {
TaskScheduler::sClearTasks();
playPreview(); playPreview();
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

View File

@ -1,2 +0,0 @@
Adding Nodes
You can add nodes to existing paths by clicking on them while holding <b>CTRL</b>.

View File

@ -83,6 +83,7 @@ Node Node::sInterpolateNormal(const Node &node1, const Node &node2,
} else { } else {
result.mCtrlsMode = CtrlsMode::symmetric; result.mCtrlsMode = CtrlsMode::symmetric;
} }
result.setCtrlsMode(result.mCtrlsMode);
return result; return result;
} }

View File

@ -93,6 +93,8 @@ int SmartPath::actionInsertNodeBetween(const int prevId,
const auto next = getNodePtr(nextId); const auto next = getNodePtr(nextId);
if(!mNodesList.nodesConnected(prevId, nextId)) { if(!mNodesList.nodesConnected(prevId, nextId)) {
if(!prev->isNormal() || !next->isNormal())
RuntimeThrow("Invalid insert between not connected nodes");
const int prevNormalId = prev->getNodeId(); const int prevNormalId = prev->getNodeId();
const int nextNormalId = next->getNodeId(); const int nextNormalId = next->getNodeId();
const int nDiss = prevNormalId < nextNormalId ? const int nDiss = prevNormalId < nextNormalId ?