Skip to content

Commit

Permalink
Fix viewer node copy/paste.
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacsv committed May 19, 2020
1 parent c54c379 commit b741960
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/BuiltInNodes/BI_ViewerUINodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void MultiLineViewerNode::RegisterParameters (NUIE::NodeParameterList& parameter
}
};

NUIE::UINode::RegisterParameters (parameterList);
BasicUINode::RegisterParameters (parameterList);
parameterList.AddParameter (NUIE::NodeParameterPtr (new TextPerPageParameter ()));
}

Expand All @@ -176,15 +176,15 @@ bool MultiLineViewerNode::IsForceCalculated () const
NE::Stream::Status MultiLineViewerNode::Read (NE::InputStream& inputStream)
{
NE::ObjectHeader header (inputStream);
NUIE::UINode::Read (inputStream);
BasicUINode::Read (inputStream);
inputStream.Read (textsPerPage);
return inputStream.GetStatus ();
}

NE::Stream::Status MultiLineViewerNode::Write (NE::OutputStream& outputStream) const
{
NE::ObjectHeader header (outputStream, serializationInfo);
NUIE::UINode::Write (outputStream);
BasicUINode::Write (outputStream);
outputStream.Write (textsPerPage);
return outputStream.GetStatus ();
}
Expand Down

0 comments on commit b741960

Please sign in to comment.