Commit 3ef58bdb authored by bonnell's avatar bonnell

Don't write operator-created expressions to config or session files

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@28145 18c085ea-50e0-402c-830e-de6fd14e8384
parent 97757dd0
......@@ -452,6 +452,9 @@ ExpressionList::CreateSubAttributeGroup(int)
// Brad Whitlock, Fri Dec 14 16:04:18 PST 2007
// Made it use ids.
//
// Kathleen Biagas, Tue Feb 23 16:24:08 PST 2016
// Don't write Operator-created expressions.
//
// ****************************************************************************
bool
......@@ -470,7 +473,7 @@ ExpressionList::CreateNode(DataNode *parentNode, bool completeSave, bool forceAd
for(size_t i = 0; i < expressions.size(); ++i)
{
Expression *expr = (Expression *)expressions[i];
if(!expr->GetFromDB())
if(!expr->GetFromDB() && !expr->GetFromOperator())
{
addToParent = true;
expr->CreateNode(node, completeSave, true);
......
......@@ -38,6 +38,9 @@ Definition:
// Brad Whitlock, Fri Dec 14 16:04:18 PST 2007
// Made it use ids.
//
// Kathleen Biagas, Tue Feb 23 16:24:08 PST 2016
// Don't write Operator-created expressions.
//
// ****************************************************************************
bool
......@@ -56,7 +59,7 @@ ExpressionList::CreateNode(DataNode *parentNode, bool completeSave, bool forceAd
for(size_t i = 0; i < expressions.size(); ++i)
{
Expression *expr = (Expression *)expressions[i];
if(!expr->GetFromDB())
if(!expr->GetFromDB() && !expr->GetFromOperator())
{
addToParent = true;
expr->CreateNode(node, completeSave, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment