fix bug with binary values not being saved to disk

For SDAI_Binary, STEPattribute::is_null() cleared the value instead of
merely reporting whether it was null, like it does with other types.
This commit is contained in:
Mark Pictor committed 2012-04-09 12:21:15 -04:00
1 parent 1c12e5d102
commit 2b46efb15f
1 file changed
-1
-1
View File
@@ -790,7 +790,6 @@ int STEPattribute::is_null() const {
return ( *( ptr.S ) == S_STRING_NULL );
case BINARY_TYPE:
ptr.b->clear();
return ptr.b->empty();
case AGGREGATE_TYPE: