function recordoff(Constr,T)
%RECORDON  Starts recording Edit Constraint transaction.

%   Authors: P. Gahinet
%   Copyright 1986-2002 The MathWorks, Inc. 
%   $Revision: 1.1.6.3 $ $Date: 2004/12/26 21:51:07 $

if ~isempty(Constr.Children) && ~isempty(T.Transaction.Operations)
    % Commit and stack transaction
    % RE: Only when something changed! (FocusLost listener triggers even w/o touching data)
    Constr.EventManager.record(T);
else
    delete(T);
end
