Skip to content

Commit

Permalink
Merge pull request #5506 from ericmehl/referenceTestFix
Browse files Browse the repository at this point in the history
Reference : Make `m_plugEdits` key more unique
  • Loading branch information
johnhaddon authored Oct 25, 2023
2 parents 8220b28 + 445a9d1 commit cacbae1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Fixes
- Windows :
- Fixed a bug preventing anything except strings from being copied and pasted.
- Fixed likely cause of crash when resizing Spreadsheet column width (#5296).
- Reference : Fixed rare reloading error.

1.3.5.0 (relative to 1.3.4.0)
=======
Expand Down
5 changes: 5 additions & 0 deletions src/Gaffer/Reference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,11 @@ class Reference::PlugEdits : public Signals::Trackable
return;
}

for( Plug::RecursiveIterator it( plug ); !it.done(); ++it )
{
m_plugEdits.erase( it->get() );
}

m_plugEdits.erase( plug );
}

Expand Down

0 comments on commit cacbae1

Please sign in to comment.