Minor formatting...
This commit is contained in:
parent
4a10806352
commit
781682f4ee
@ -21,14 +21,14 @@
|
||||
namespace simgear
|
||||
{
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//----------------------------------------------------------------------------
|
||||
PropertyBasedElement::PropertyBasedElement(SGPropertyNode* node):
|
||||
_node(node)
|
||||
{
|
||||
_node->addChangeListener(this);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//----------------------------------------------------------------------------
|
||||
PropertyBasedElement::~PropertyBasedElement()
|
||||
{
|
||||
onDestroy();
|
||||
@ -53,13 +53,13 @@ namespace simgear
|
||||
->removeChild(_node->getName(), _node->getIndex(), false);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//----------------------------------------------------------------------------
|
||||
SGConstPropertyNode_ptr PropertyBasedElement::getProps() const
|
||||
{
|
||||
return _node;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//----------------------------------------------------------------------------
|
||||
SGPropertyNode_ptr PropertyBasedElement::getProps()
|
||||
{
|
||||
return _node;
|
||||
|
@ -369,7 +369,7 @@ SGReadExpression(SGPropertyNode *inputRoot, const SGPropertyNode *expression)
|
||||
SG_LOG(SG_IO, SG_ALERT, "Cannot read \"" << name << "\" expression: no input found");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
SGSharedPtr<SGExpression<T> > inputExpression;
|
||||
inputExpression = SGReadExpression<T>(inputRoot, inputNode);
|
||||
if (!inputExpression) {
|
||||
|
Loading…
Reference in New Issue
Block a user