simgear/canvas/Canvas.cxx: Canvas::Canvas(): mark tree with VALUE_CHANGED_DOWN.
This is required for canvas to work - relies on value-changes being visible to higher nodes.
This commit is contained in:
parent
f8b5e6ab81
commit
087d04db8e
@ -137,6 +137,11 @@ namespace canvas
|
||||
_status(node, "status"),
|
||||
_status_msg(node, "status-msg")
|
||||
{
|
||||
SG_LOG(SG_GENERAL, SG_ALERT, "Canvas constructor:"
|
||||
" node=" << node->getPath(true /*simplify*/)
|
||||
);
|
||||
// Looks like we need to propogate value changes upwards.
|
||||
node->setAttribute(SGPropertyNode::VALUE_CHANGED_DOWN, true);
|
||||
_status = 0;
|
||||
setStatusFlags(MISSING_SIZE_X | MISSING_SIZE_Y);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user