Fix up minimal build.
This commit is contained in:
parent
119ea6f2cc
commit
7b4ba9dd54
5 changed files with 15 additions and 14 deletions
|
@ -3,26 +3,26 @@
|
|||
#include "CircleNode.h"
|
||||
|
||||
TerminalNode::TerminalNode(const Transform& transform)
|
||||
: AbstractVisualNode(transform)
|
||||
: AbstractVisualNode(transform)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void TerminalNode::setContent(Terminal* terminal)
|
||||
{
|
||||
mContent = terminal;
|
||||
mContent = terminal;
|
||||
}
|
||||
|
||||
void TerminalNode::createOrUpdateGeometry(SceneInfo*)
|
||||
{
|
||||
if (!mMarker)
|
||||
{
|
||||
mMarker = std::make_unique<CircleNode>(Transform{}, 5);
|
||||
mMarker->setFillColor(Color(0, 0, 0));
|
||||
mMarker->setHasStrokeColor(false);
|
||||
if (!mMarker)
|
||||
{
|
||||
mMarker = std::make_unique<CircleNode>(Transform{}, 5);
|
||||
mMarker->setFillColor(Color(0, 0, 0));
|
||||
mMarker->setHasStrokeColor(false);
|
||||
|
||||
addChild(mMarker.get());
|
||||
}
|
||||
addChild(mMarker.get());
|
||||
}
|
||||
}
|
||||
|
||||
void TerminalNode::update(SceneInfo* sceneInfo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue