Compare commits

..

4 Commits

Author SHA1 Message Date
maurycyliebner
831c4b5cb8 Add node adding tip. 2022-01-26 17:49:24 +01:00
maurycyliebner
77baba3526 Allow node insertion between dissolved nodes. 2022-01-26 17:11:52 +01:00
maurycyliebner
445d2ad2ca Do not setCtrlsMode for interpolated nodes. 2022-01-26 17:11:37 +01:00
maurycyliebner
ee308252a2 Don't clear tasks when running out of memory during preview. 2022-01-21 11:45:54 +01:00
5 changed files with 2 additions and 4 deletions

View File

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

BIN
src/app/tips/17.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

2
src/app/tips/17.txt Normal file
View File

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

View File

@ -83,7 +83,6 @@ 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,8 +93,6 @@ 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 ?