Skip to content

BUG: Fix unexpected behavior for isSet() and unset() Item Methods

Robert M. O'Bara requested to merge bob.obara/smtk:fixingIsSetMethods into master

Previously calling isSet() for items that had its numberOfValues() == 0 would either result in an assert or indexing a vector of size 0. This has been fixed so calling the method for an index that doesn't exist will always return false. Previously some Items would exhibit undefined behavior but will now simply assert.

Merge request reports